def test_config_utm_profile_exception_1(self): try: utm_command.config_utm_profile() except Exception as err: self.assertEqual( err.args[0], "Device handle is a mandatory argument")
def test_config_utm_profile_execution_8(self): lst = [Response("Suchi")] self.mocked_obj.config = MagicMock(side_effect=lst) self.assertEqual(utm_command.config_utm_profile(device=self.mocked_obj, message="Suchishraba", commit="True"), None)
def test_config_utm_profile_execution_6(self): lst = [Response("Suchi")] self.mocked_obj.config = MagicMock(side_effect=lst) self.assertEqual(utm_command.config_utm_profile(device=self.mocked_obj, profile="websense_redirect"), None)
def test_config_utm_profile_execution_5(self): lst = [Response("Suchi")] self.mocked_obj.config = MagicMock(side_effect=lst) self.assertEqual(utm_command.config_utm_profile(device=self.mocked_obj, profile="juniper_local"), None)
def test_config_utm_profile_execution_1(self): lst = [Response("Suchi")] self.mocked_obj.config = MagicMock(side_effect=lst) self.assertEqual(utm_command.config_utm_profile(device=self.mocked_obj, mode="delete_all"), None)