Skip to content

Commit 3ac1dee

Browse files
committed
fixup! don't merge test-requirements
1 parent 7e625e3 commit 3ac1dee

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

endpoint_auth_api_key/tests/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def _setup_records(cls):
8181
)
8282
cls.api_keys = cls.api_key | cls.api_key2
8383

84-
cls.api_key_group = _setup_demo_api_key_group(
84+
cls.key_group = _setup_demo_api_key_group(
8585
cls.env,
8686
cls.api_keys,
8787
)
8888
cls.endpoint = _setup_demo_endpoint(
8989
cls.env,
90-
cls.api_key_group,
90+
cls.key_group,
9191
)

endpoint_auth_api_key/tests/test_endpoint.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,6 @@
1313

1414

1515
class TestEndpoint(CommonEndpoint, CommonEndpointAuthAPIKey):
16-
@classmethod
17-
def _setup_records(cls):
18-
super()._setup_records()
19-
cls.endpoint = cls.env.ref("endpoint_auth_api_key.endpoint_demo_1")
20-
cls.key_group = cls.env.ref("endpoint_auth_api_key.auth_api_key_group_demo")
21-
cls.api_key = cls.env.ref("endpoint_auth_api_key.auth_api_key_demo")
22-
cls.api_key2 = cls.env.ref("endpoint_auth_api_key.auth_api_key_demo2")
23-
return
24-
2516
@mute_logger("endpoint.endpoint")
2617
def test_endpoint_validate_request_no_key(self):
2718
endpoint = self.endpoint.copy(

0 commit comments

Comments
 (0)