def test_db_to_author():
# when
actual_author = converters.db_to_author(b"fullname", b"name", b"email")
# then
> assert actual_author == {
"fullname": b"fullname",
"name": b"name",
"email": b"email",
}
E AssertionError: assert Person(fullna...mail=b'email') == {'email': b'e...ame': b'name'}
E +Person(fullname=b'fullname', name=b'name', email=b'email')
E -{'fullname': b'fullname', 'name': b'name', 'email': b'email'}
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_converters.py:51: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 12 2020, 11:01 AM