Skip to content

Commit

Permalink
Cover devmode case in existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garner-canonical committed Sep 6, 2024
1 parent cd21ab0 commit 417722c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_snap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
]:
Expand Down

0 comments on commit 417722c

Please sign in to comment.