Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
  • Loading branch information
pem70 committed May 30, 2024
1 parent c8f9a84 commit 0c70479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_zowe_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def test_profile_empty_exception(self, get_pass_func, mock_logger_error: mock.Ma
self.setUpCreds(cwd_up_file_path, secure_props={})
config_file = ConfigFile(name=self.custom_appname, type="team_config")
props: dict = config_file.get_profile(profile_name=None,profile_type=None,validate_schema=False)
self.assertEqual(mock_logger_error.call_args[0][0], "Failed to load profile 'None' because Could not find profile as both profile_name and profile_type is not set")
self.assertEqual(mock_logger_error.call_args[0][0], "Failed to load profile: profile_name and profile_type were not provided.")

@mock.patch("logging.Logger.error")
@mock.patch("logging.Logger.warning")
Expand Down

0 comments on commit 0c70479

Please sign in to comment.