Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.scheduler.tests.test_scheduler.TestScheduler::test_get_or_create_lister
Failed

TEST RESULT

Run At
Jun 23 2021, 6:13 PM
Details
self = <swh.scheduler.tests.test_scheduler.TestScheduler object at 0x7fd39d1b4e10> swh_scheduler = <swh.scheduler.backend.SchedulerBackend object at 0x7fd39434e2b0> def test_get_or_create_lister(self, swh_scheduler): db_listers = [] for lister_args in LISTERS: db_listers.append(swh_scheduler.get_or_create_lister(**lister_args)) for lister, lister_args in zip(db_listers, LISTERS): assert lister.name == lister_args["name"] assert lister.instance_name == lister_args.get("instance_name", "") lister_get_again = swh_scheduler.get_or_create_lister( lister.name, lister.instance_name ) > assert lister == lister_get_again E AssertionError: assert Lister(name='...timezone.utc)) == Lister(name='...timezone.utc)) E E Omitting 3 identical items, use -vv to show E Differing attributes: E ['id', 'created', 'updated'] E E Drill down into differing attribute id: E id: UUID('523d34b3-4745-4111-946b-eb88653d8d68') != UUID('be4e1fed-8469-401d-9e68-d32fe764d64b')... E E ...Full output truncated (13 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/scheduler/tests/test_scheduler.py:633: AssertionError