Skip to content

Commit 3d082d9

Browse files
committed
fix
1 parent dd7f876 commit 3d082d9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/buildkite_test_collector/collector/run_env.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __github_actions_env() -> Optional['RuntimeEnvironment']:
5454
commit_sha=__get_env("GITHUB_SHA"),
5555
number=run_number,
5656
job_id=None,
57-
message=__get_env("TEST_ANALYTICS_COMMIT_MESSAGE")
57+
message=__get_env("TEST_ANALYTICS_COMMIT_MESSAGE"),
5858
)
5959

6060

@@ -73,7 +73,7 @@ def __circle_ci_env() -> Optional['RuntimeEnvironment']:
7373
commit_sha=__get_env("CIRCLE_SHA1"),
7474
number=build_num,
7575
job_id=None,
76-
message=__get_env("TEST_ANALYTICS_COMMIT_MESSAGE")
76+
message=__get_env("TEST_ANALYTICS_COMMIT_MESSAGE"),
7777
)
7878

7979

tests/buildkite_test_collector/collector/test_run_env.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_detect_env_with_github_actions_env_vars_returns_the_correct_environment
6767
assert runtime_env.commit_sha == commit
6868
assert runtime_env.number == run_number
6969
assert runtime_env.job_id is None
70-
assert runtime_env.message is "excellent adventure"
70+
assert runtime_env.message == "excellent adventure"
7171

7272
def test_detect_env_with_circle_ci_env_vars_returns_the_correct_environment():
7373
build_num = str(randint(0, 1000))
@@ -93,7 +93,7 @@ def test_detect_env_with_circle_ci_env_vars_returns_the_correct_environment():
9393
assert runtime_env.commit_sha == commit
9494
assert runtime_env.number == build_num
9595
assert runtime_env.job_id is None
96-
assert runtime_env.message is "excellent adventure"
96+
assert runtime_env.message == "excellent adventure"
9797

9898
def test_detect_env_with_generic_env_vars():
9999
env = {

0 commit comments

Comments
 (0)