def test_write_additions():
writer = InMemoryJournalWriter(value_sanitizer=model_object_dict_sanitizer)
expected = set()
for object_type, objects in TEST_OBJECTS.items():
writer.write_additions(object_type, objects)
for object in objects:
expected.add((object_type, object))
assert not set(writer.privileged_objects)
> assert expected == set(writer.objects)
E TypeError: unhashable type: 'dict'
.tox/py3/lib/python3.7/site-packages/swh/journal/tests/test_inmemory.py:46: TypeError
TEST RESULT
TEST RESULT
- Run At
- Nov 14 2022, 11:15 AM