self = <swh.storage.tests.test_cassandra.TestCassandraStorage object at 0x7f59d0314240>
swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f59902d5cf8>
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:44 PM