From 417722cfea438bf6763188bd5f12bfd5a97d20c4 Mon Sep 17 00:00:00 2001 From: James Garner Date: Fri, 6 Sep 2024 14:37:55 +1200 Subject: [PATCH] Cover devmode case in existing tests --- tests/unit/test_snap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_snap.py b/tests/unit/test_snap.py index 6bea76b8..87506707 100644 --- a/tests/unit/test_snap.py +++ b/tests/unit/test_snap.py @@ -998,6 +998,7 @@ def test_install_local_args(self, mock_subprocess): mock_subprocess.return_value = "curl XXX installed" for kwargs, cmd_args in [ ({"classic": True}, ["--classic"]), + ({"devmode": True}, ["--devmode"]), ({"dangerous": True}, ["--dangerous"]), ({"classic": True, "dangerous": True}, ["--classic", "--dangerous"]), ]: