Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.clearlydefined.tests.test_orchestrator::test_orchestrator
Failed

TEST RESULT

Run At
Feb 7 2021, 6:53 PM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7f7c1dbfeac8> clearcode_dsn = "dbname=clearcode user=postgres host=127.0.0.1 port=15197 options=''" datadir = '/var/lib/jenkins/workspace/DMFCD/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/clearlydefined/tests/data' def test_orchestrator(swh_storage, clearcode_dsn, datadir): connection = psycopg2.connect(dsn=clearcode_dsn) cursor = connection.cursor() add_content_data(swh_storage) init_tables(connection=connection, cursor=cursor) fill_data_before_updation_of_storage( connection=connection, cursor=cursor, datadir=datadir ) orchestrator(storage=swh_storage, clearcode_dsn=clearcode_dsn) assert 2 == get_length_of_unmapped_data(connection=connection, cursor=cursor) > assert datetime( 2021, 2, 6, 0, 0, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=330, name=None) ) == get_last_run_date(cursor=cursor) E assert datetime.date...0, name=None)) == datetime.date...0, name=None)) E +datetime.datetime(2021, 2, 6, 0, 0, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=330, name=None)) E -datetime.datetime(2021, 2, 6, 0, 0, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=0, name=None)) .tox/py3/lib/python3.7/site-packages/swh/clearlydefined/tests/test_orchestrator.py:163: AssertionError