Skip to content

Commit

Permalink
Merge pull request #16 from buildkite/pie-1353-update-python-collector
Browse files Browse the repository at this point in the history
[PIE-1353]: Update python collector
  • Loading branch information
KatieWright26 authored Jan 19, 2023
2 parents f50a017 + b8734de commit 5c3533f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/buildkite_test_collector/collector/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""This module defines collector-level constants."""

COLLECTOR_NAME='buildkite-test-collector'
VERSION='0.1.5'
VERSION='0.1.6'
2 changes: 1 addition & 1 deletion src/buildkite_test_collector/collector/run_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def as_json(self) -> Dict[str, str]:
"commit_sha": self.commit_sha,
"message": self.message,
"url": self.url,
"collector": 'python-{COLLECTOR_NAME}',
"collector": f"python-{COLLECTOR_NAME}",
"version": VERSION
}

Expand Down
2 changes: 1 addition & 1 deletion tests/buildkite_test_collector/collector/test_run_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ def test_env_as_json(fake_env):
assert json["commit_sha"] == fake_env.commit_sha
assert json["message"] == fake_env.message
assert json["url"] == fake_env.url
assert json["collector"] == 'python-{COLLECTOR_NAME}'
assert json["collector"] == 'python-buildkite-test-collector'
assert json["version"] == VERSION

0 comments on commit 5c3533f

Please sign in to comment.