Skip to content

Commit

Permalink
Fix itests
Browse files Browse the repository at this point in the history
  • Loading branch information
originalsouth committed Dec 16, 2024
1 parent 3521a97 commit 366e830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octopoes/tests/integration/test_ooi_deletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_deletion_events_after_nxdomain(
event_manager.complete_process_events(xtdb_octopoes_service)

assert len(list(filter(lambda x: x.operation_type.value == "delete", event_manager.queue))) == 0
assert xtdb_octopoes_service.ooi_repository.list_oois({OOI}, valid_time).count == 8
assert xtdb_octopoes_service.ooi_repository.list_oois({OOI}, valid_time).count == 9

nxd = NXDOMAIN(hostname=hostname.reference)
xtdb_octopoes_service.ooi_repository.save(nxd, valid_time)
Expand All @@ -250,7 +250,7 @@ def test_deletion_events_after_nxdomain(
event_manager.complete_process_events(xtdb_octopoes_service)

assert len(list(filter(lambda x: x.operation_type.value == "delete", event_manager.queue))) >= 3
assert xtdb_octopoes_service.ooi_repository.list_oois({OOI}, valid_time).count == 6
assert xtdb_octopoes_service.ooi_repository.list_oois({OOI}, valid_time).count == 8


@pytest.mark.xfail(reason="Wappalyzer works on wrong input objects (to be addressed)")
Expand Down

0 comments on commit 366e830

Please sign in to comment.