self = <swh.model.tests.test_from_disk.FileToContent testMethod=test_special_to_content_model>
def test_special_to_content_model(self):
for filename in self.specials:
path = os.path.join(self.tmpdir_name, filename)
model_content = Content.from_file(path=path).to_model()
right = self.empty_content.copy()
for key in ("perms", "path", "mode"):
right.pop(key, None)
right["status"] = "visible"
> assert model_content == model.Content.from_dict(right)
E AssertionError: assert Content(sha1=...', ctime=None) == Content(sha1=...', ctime=None)
E
E Omitting 6 identical items, use -vv to show
E Differing attributes:
E ['sha1_git']
E
E Drill down into differing attribute sha1_git:
E sha1_git: b'\xda9\xa3\xee^kK\r2U\xbf\xef\x95`\x18\x90\xaf\xd8\x07\t' != b'\xe6\x9d\xe2\x9b\xb2\xd1\xd6CK\x8b)\xaewZ\xd8\xc2\xe4\x8cS\x91'...
E
E ...Full output truncated (5 lines hidden), use '-vv' to show
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_from_disk.py:624: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 30 2021, 12:26 PM