Skip to content

Commit

Permalink
fix flake8 errors (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Aug 11, 2023
1 parent ac98cdc commit 1134a41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion store/neurostore/tests/api/test_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_get_analyses(auth_client, ingest_neurosynth):
resp = auth_client.get("/api/analyses/")
assert resp.status_code == 200
analysis_list = decode_json(resp)["results"]
assert type(analysis_list) == list
assert isinstance(analysis_list, list)

assert len(analysis_list) == Analysis.query.count()

Expand Down
2 changes: 1 addition & 1 deletion store/neurostore/tests/api/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_get_images(auth_client, ingest_neurovault):
assert resp.status_code == 200
images_list = decode_json(resp)["results"]

assert type(images_list) == list
assert isinstance(images_list, list)


def test_post_images(auth_client, session):
Expand Down
2 changes: 1 addition & 1 deletion store/neurostore/tests/api/test_studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_get_studies(auth_client, ingest_neurosynth, ingest_neuroquery):
assert resp.status_code == 200
studies_list = decode_json(resp)["results"]

assert type(studies_list) == list
assert isinstance(studies_list, list)

assert len(studies_list) == resp.json["metadata"]["total_count"]

Expand Down

0 comments on commit 1134a41

Please sign in to comment.