Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_replay::test_storage_play_with_collision
Failed

TEST RESULT

Run At
Jun 11 2020, 3:42 PM
Details
replayer_storage_and_client = (<swh.storage.in_memory.InMemoryStorage object at 0x7f018ffa6e48>, <swh.journal.client.JournalClient object at 0x7f018ff94f28>) caplog = <_pytest.logging.LogCaptureFixture object at 0x7f019086b0f0> def test_storage_play_with_collision(replayer_storage_and_client, caplog): """Another replayer scenario with collisions. This: - writes objects to the topic, including colliding contents - replayer consumes objects from the topic and replay them - This drops the colliding contents from the replay when detected """ src, replayer = replayer_storage_and_client # Fill Kafka using a source storage nb_sent = 0 for object_type, objects in TEST_OBJECTS.items(): if object_type == "origin_visit": for visit in objects: src.origin_visit_add( > origin_url=visit.origin, date=visit.date, type=visit.type ) E TypeError: origin_visit_add() got an unexpected keyword argument 'origin_url' .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_replay.py:121: TypeError