Exemple #1
0
def _get_error_log_path():
    log_path = get_user_project_path("log")
    return os.path.join(log_path, ERROR_LOG_FILE_NAME)
 def __init__(self, profile_name):
     dir_path = get_user_project_path("alert_checkpoints", profile_name)
     super().__init__(dir_path)
Exemple #3
0
def test_get_view_exceptions_location_message_returns_expected_message():
    actual = get_view_error_details_message()
    path = os.path.join(get_user_project_path("log"), "code42_errors.log")
    expected = f"View details in {path}"
    assert actual == expected