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