diff --git a/tests/test_api.py b/tests/test_api.py index 6464f7857..a01201242 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -761,10 +761,10 @@ def test_api(self) -> None: # Image Endpoints rv = self.app.get(url_for('api_03.licensed_file_overview')) - assert '152' in rv.get_json() + assert bool(len(rv.get_json().keys()) == 3) rv = self.app.get(url_for( 'api_03.licensed_file_overview', file_id='154')) - assert '154' in rv.get_json() + assert bool(len(rv.get_json().keys()) == 1) # Test Error Handling for rv in [