File tree 2 files changed +4
-4
lines changed
src/buildkite_test_collector/collector
tests/buildkite_test_collector/collector
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def __github_actions_env() -> Optional['RuntimeEnvironment']:
54
54
commit_sha = __get_env ("GITHUB_SHA" ),
55
55
number = run_number ,
56
56
job_id = None ,
57
- message = __get_env ("TEST_ANALYTICS_COMMIT_MESSAGE" )
57
+ message = __get_env ("TEST_ANALYTICS_COMMIT_MESSAGE" ),
58
58
)
59
59
60
60
@@ -73,7 +73,7 @@ def __circle_ci_env() -> Optional['RuntimeEnvironment']:
73
73
commit_sha = __get_env ("CIRCLE_SHA1" ),
74
74
number = build_num ,
75
75
job_id = None ,
76
- message = __get_env ("TEST_ANALYTICS_COMMIT_MESSAGE" )
76
+ message = __get_env ("TEST_ANALYTICS_COMMIT_MESSAGE" ),
77
77
)
78
78
79
79
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def test_detect_env_with_github_actions_env_vars_returns_the_correct_environment
67
67
assert runtime_env .commit_sha == commit
68
68
assert runtime_env .number == run_number
69
69
assert runtime_env .job_id is None
70
- assert runtime_env .message is "excellent adventure"
70
+ assert runtime_env .message == "excellent adventure"
71
71
72
72
def test_detect_env_with_circle_ci_env_vars_returns_the_correct_environment ():
73
73
build_num = str (randint (0 , 1000 ))
@@ -93,7 +93,7 @@ def test_detect_env_with_circle_ci_env_vars_returns_the_correct_environment():
93
93
assert runtime_env .commit_sha == commit
94
94
assert runtime_env .number == build_num
95
95
assert runtime_env .job_id is None
96
- assert runtime_env .message is "excellent adventure"
96
+ assert runtime_env .message == "excellent adventure"
97
97
98
98
def test_detect_env_with_generic_env_vars ():
99
99
env = {
You can’t perform that action at this time.
0 commit comments