forked from p15670423/monkey
tests: Fix function path in monkeypatch statement as per previous commit changes
This commit is contained in:
parent
736c8008a0
commit
34495d36d4
|
@ -15,7 +15,7 @@ def uses_database():
|
|||
@pytest.mark.parametrize("mode", ["ransomware", "advanced"])
|
||||
def test_island_mode_post(flask_client, mode, monkeypatch):
|
||||
monkeypatch.setattr(
|
||||
"monkey_island.cc.services.mode.island_mode_service.update_config_on_mode_set",
|
||||
"monkey_island.cc.resources.island_mode.update_config_on_mode_set",
|
||||
lambda _: None,
|
||||
)
|
||||
resp = flask_client.post(
|
||||
|
|
Loading…
Reference in New Issue