self = <swh.storage.tests.test_storage.TestStorage object at 0x7f69f5202748>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f69f5202a58>
def test_revision_get_no_parents(self, swh_storage):
swh_storage.revision_add([data.revision3])
get = list(swh_storage.revision_get([data.revision3["id"]]))
assert len(get) == 1
> assert get[0]["parents"] == [] # no parents on this one
E assert () == []
E Full diff:
E - []
E + ()
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:1112: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jun 3 2020, 12:37 PM