@given(objects(split_content=True, blacklist_types=all_but_skipped_content))
> def test_generation_split_content(obj_type_and_obj):
.tox/py3/lib/python3.7/site-packages/swh/model/tests/test_hypothesis_strategies.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj_type_and_obj = ('extid', ExtID(extid=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', extid_type=...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', target_type=<ObjectType.CONTENT: 'content'>))
@given(objects(split_content=True, blacklist_types=all_but_skipped_content))
def test_generation_split_content(obj_type_and_obj):
# we should only generate "skipped_content"
> assert obj_type_and_obj[0] == "skipped_content"
E AssertionError: assert 'extid' == 'skipped_content'
E - skipped_content
E + extid
.tox/py3/lib/python3.7/site-packages/swh/model/tests/test_hypothesis_strategies.py:53: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jan 8 2021, 3:42 PM