tests: Fix function path in monkeypatch statement as per previous commit changes

This commit is contained in:
Shreya 2021-07-21 18:05:07 +05:30
parent 736c8008a0
commit 34495d36d4
1 changed files with 1 additions and 1 deletions

View File

@ -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(