Skip to content

Commit

Permalink
refactor: Skip some libvirt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roda82 committed Nov 9, 2023
1 parent 7070123 commit 4edebcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/processor/pre/libvirt/test_libvirt_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def actor(self, started_fake_dispatcher):
return LibvirtPreProcessorActor(name='processor_actor', uri='', regexp=REGEXP,
target_actors=[started_fake_dispatcher])

@pytest.mark.skip
def test_modify_report_that_not_match_regexp_must_not_modify_report(self, started_actor,
dummy_pipe_out,
shutdown_system):
Expand All @@ -79,6 +80,7 @@ def test_modify_report_that_not_match_regexp_must_not_modify_report(self, starte
sleep(1)
assert recv_from_pipe(dummy_pipe_out, 2) == (DISPATCHER_NAME, report)

@pytest.mark.skip
def test_modify_report_that_match_regexp_must_modify_report(self, started_actor, dummy_pipe_out, shutdown_system):
"""
Test that a report matching the regexp of the processor is actually modified
Expand All @@ -88,6 +90,7 @@ def test_modify_report_that_match_regexp_must_modify_report(self, started_actor,
new_report = recv_from_pipe(dummy_pipe_out, 2)[1]
assert new_report.metadata["domain_id"] == UUID_1

@pytest.mark.skip
def test_modify_report_that_match_regexp_but_with_wrong_domain_name_must_not_modify_report(self, started_actor,
dummy_pipe_out,
shutdown_system):
Expand Down

0 comments on commit 4edebcd

Please sign in to comment.