51aa9643b7db4d67ce2632537cf4d7b7da1fcf64,app/tests/algorithms_tests/test_signals.py,,test_user_can_download_images,#Any#Any#,18
Before Change
)
assert response.status_code == test[1]
if test[1] != 401:
// We provided auth details and get a response
assert response.json()["count"] == len(test[2])
pks = [obj["pk"] for obj in response.json()["results"]]
for pk in test[2]:
assert str(pk) in pks
// Test clearing
if reverse:
iv1.algorithms_jobs_as_output.clear()
iv2.algorithms_jobs_as_output.clear()
else:
After Change
assert response.json()["count"] == len(test[2])
pks = {obj["pk"] for obj in response.json()["results"]}
assert {str(pk) for pk in test[2]} == pks
// Test clearing
if reverse:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 18
Instances
Project Name: comic/grand-challenge.org
Commit Name: 51aa9643b7db4d67ce2632537cf4d7b7da1fcf64
Time: 2020-11-05
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/algorithms_tests/test_signals.py
Class Name:
Method Name: test_user_can_download_images
Project Name: comic/grand-challenge.org
Commit Name: 51aa9643b7db4d67ce2632537cf4d7b7da1fcf64
Time: 2020-11-05
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/reader_studies_tests/test_signals.py
Class Name:
Method Name: test_reader_can_download_images
Project Name: comic/grand-challenge.org
Commit Name: 51aa9643b7db4d67ce2632537cf4d7b7da1fcf64
Time: 2020-11-05
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/algorithms_tests/test_signals.py
Class Name:
Method Name: test_user_can_download_input_images
Project Name: comic/grand-challenge.org
Commit Name: 51aa9643b7db4d67ce2632537cf4d7b7da1fcf64
Time: 2020-11-05
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/algorithms_tests/test_permissions.py
Class Name:
Method Name: test_api_algorithm_list_permissions