From 8636758a90ae77926c2c1c9109534b1ee1f732d7 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 26 Nov 2020 00:02:11 +0000 Subject: [PATCH] fix tests --- api/tacticalrmm/software/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tacticalrmm/software/tests.py b/api/tacticalrmm/software/tests.py index 79672f08..04da686e 100644 --- a/api/tacticalrmm/software/tests.py +++ b/api/tacticalrmm/software/tests.py @@ -163,14 +163,14 @@ class TestSoftwareTasks(TacticalTestCase): nats_cmd.return_value = "timeout" ret = get_installed_software(agent.pk) self.assertFalse(ret) - nats_cmd.assert_called_with({"func": "softwarelist"}, timeout=15) + nats_cmd.assert_called_with({"func": "softwarelist"}, timeout=20) nats_cmd.reset_mock() # test successful attempt nats_cmd.return_value = nats_return ret = get_installed_software(agent.pk) self.assertTrue(ret) - nats_cmd.assert_called_with({"func": "softwarelist"}, timeout=15) + nats_cmd.assert_called_with({"func": "softwarelist"}, timeout=20) @patch("agents.models.Agent.salt_api_cmd") @patch("software.tasks.get_installed_software.delay")