@given(object_dicts(split_content=True, blacklist_types=all_but_skipped_content))
> def test_dicts_generation_split_content(obj_type_and_obj):
.tox/py3/lib/python3.7/site-packages/swh/model/tests/test_hypothesis_strategies.py:113:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
obj_type_and_obj = ('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':...arget': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', 'target_type': 'content'})
@given(object_dicts(split_content=True, blacklist_types=all_but_skipped_content))
def test_dicts_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:115: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jan 8 2021, 3:09 PM