Skip to content

Commit

Permalink
Fix test: Don't initialise MPlug in test_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Nudin committed Sep 12, 2020
1 parent ba8c639 commit 76fad97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_main(mocker):
mock_list_installed = mocker.patch("mplug.MPlug.list_installed")
mock_update = mocker.patch("mplug.MPlug.update")
mock_upgrade = mocker.patch("mplug.MPlug.upgrade")
mocker.patch("mplug.MPlug.__init__", return_value=None)
argmap = {
"install": mock_install_by_name,
"search": mock_search,
Expand Down

0 comments on commit 76fad97

Please sign in to comment.