Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_metadata::Tests / Python tests / test_api_raw_extrinsic_metadata_scroll[1]
Failed

TEST RESULT

Run At
Aug 12 2021, 5:25 PM
Details
api_client = <rest_framework.test.APIClient object at 0x7ff7b8c20e10> archive_data = <swh.web.tests.conftest._ArchiveData object at 0x7ff7b74b3358> limit = 1 @pytest.mark.parametrize("limit", [1, 2, 10, 100]) > @given(strategies.sets(queryable_remd(), min_size=1)) @given(sha1()) def test_api_raw_extrinsic_metadata_scroll( api_client, archive_data, limit, metadata, target_sha1 ): E hypothesis.errors.InvalidArgument: You have applied @given to the test test_api_raw_extrinsic_metadata_scroll more than once, which wraps the test several times and is extremely slow. A similar effect can be gained by combining the arguments of the two calls to given. For example, instead of @given(booleans()) @given(integers()), you could write @given(booleans(), integers()) .tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_metadata.py:71: InvalidArgument