summaryrefslogtreecommitdiff
path: root/tests/unit/test_wxui_radiothread.py
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-08-27 23:17:59 +0100
committerDave Hibberd <hibby@debian.org>2024-08-27 23:17:59 +0100
commitea5898c0bff9b0b52c87408027880f5d7049bdec (patch)
tree2d76776f577a99039e0618ae6d8d26014d7c8e8f /tests/unit/test_wxui_radiothread.py
parent0496ffac85e663ba4c9a14d2d4eb300a3c017ae2 (diff)
New upstream version 20240827upstream/20240827
Diffstat (limited to 'tests/unit/test_wxui_radiothread.py')
-rw-r--r--tests/unit/test_wxui_radiothread.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/test_wxui_radiothread.py b/tests/unit/test_wxui_radiothread.py
index aedd7c8..9039ab4 100644
--- a/tests/unit/test_wxui_radiothread.py
+++ b/tests/unit/test_wxui_radiothread.py
@@ -205,21 +205,21 @@ class TestStartup(base.BaseTest):
# If we made it through all the checks, and thus prompted the user,
# make sure we get to the makedirs part if expected
self.assertRaises(TestException,
- self.maybe_install_desktop, self.args)
+ self.maybe_install_desktop, self.args, None)
elif answ is False:
# If we were supposed to make it to the prompt but answer no,
# make sure we did
- self.maybe_install_desktop(self.args)
+ self.maybe_install_desktop(self.args, None)
self.assertFalse(os.makedirs.called)
self.assertTrue(wx.MessageBox.called)
else:
# If we were not supposed to make it to the prompt, make sure we
# didn't, nor did we do any create actions
- self.maybe_install_desktop(self.args)
+ self.maybe_install_desktop(self.args, None)
self.assertFalse(os.makedirs.called)
self.assertFalse(wx.MessageBox.called)
def test_linux_desktop_file_exists(self):
os.path.exists.return_value = True
- self.maybe_install_desktop(self.args)
+ self.maybe_install_desktop(self.args, None)
self.assertFalse(os.makedirs.called)