Skip to content

Commit

Permalink
fixup! Move namespaces json tests to a separate class and make a fixt…
Browse files Browse the repository at this point in the history
…ure for it
  • Loading branch information
matyasselmeci committed Nov 21, 2023
1 parent 181e44e commit 65c994d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def client():

class TestNamespaces:
@pytest.fixture(scope="class")
def namespaces_json(self, client: flask.FlaskClient) -> Dict:
def namespaces_json(self, client) -> Dict:
response = client.get('/stashcache/namespaces')
assert response.status_code == 200
return response.json
Expand Down

0 comments on commit 65c994d

Please sign in to comment.