Skip to content

Commit db523ff

Browse files
committed
tests(github): fixup test expectations
1 parent 05b66aa commit db523ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/api/configuration_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_github_no_config(self):
131131
assert cover.config['service_name'] == 'github-actions'
132132
assert cover.config['service_pull_request'] == '1234'
133133
assert cover.config['service_number'] == '123456789'
134-
assert 'service_job_id' not in cover.config
134+
assert 'service_job_id' in cover.config
135135

136136
@mock.patch.dict(
137137
os.environ,
@@ -147,7 +147,7 @@ def test_github_no_config_no_pr(self):
147147
cover = Coveralls()
148148
assert cover.config['service_name'] == 'github'
149149
assert cover.config['service_number'] == '987654321'
150-
assert 'service_job_id' not in cover.config
150+
assert 'service_job_id' in cover.config
151151
assert 'service_pull_request' not in cover.config
152152

153153
@mock.patch.dict(

0 commit comments

Comments
 (0)