fix test
This commit is contained in:
parent
2ac5e316a5
commit
9017bad884
|
@ -15,7 +15,7 @@ class TestRecovery(TacticalTestCase):
|
||||||
self.site1: "Site" = baker.make("clients.Site", client=self.client1)
|
self.site1: "Site" = baker.make("clients.Site", client=self.client1)
|
||||||
|
|
||||||
@patch("agents.models.Agent.recover")
|
@patch("agents.models.Agent.recover")
|
||||||
@patch("core.utils.get_mesh_ws_url")
|
@patch("agents.views.get_mesh_ws_url")
|
||||||
def test_recover(self, get_mesh_ws_url, recover) -> None:
|
def test_recover(self, get_mesh_ws_url, recover) -> None:
|
||||||
get_mesh_ws_url.return_value = "https://mesh.example.com"
|
get_mesh_ws_url.return_value = "https://mesh.example.com"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue