Skip to content

Commit

Permalink
modifying the testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
rahkumar651991 authored Sep 14, 2021
1 parent bd90f39 commit ebf9a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/utils/test_sw.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def test_sw_install_no_package_result(self, mock_execute):
def test_sw_install_nonexistent_mx80_package(self, mock_execute):
mock_execute.side_effect = self._mock_manager
self.sw._multi_RE = False
self.assertFalse(self.sw.install("test_no_mx80_packages.tgz", no_copy=True))
var_ret = self.sw.install("test_no_mx80_packages.tgz", no_copy=True)
self.assertFalse(var_ret[0])

@patch("jnpr.junos.Device.execute")
def test_sw_install_issu(self, mock_execute):
Expand Down

0 comments on commit ebf9a1a

Please sign in to comment.