Skip to content

Commit

Permalink
tests: fix bad expectation for CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKevJames committed Dec 3, 2019
1 parent 6f5852e commit bbc8115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Expand Up @@ -22,15 +22,14 @@ jobs:

toxpypy:
docker:
- image: pypy:<<parameters.docker_image>>-slim
- image: pypy:<<parameters.docker_image>>
parameters:
docker_image:
type: string
# TODO: figure out `<<parameters.docker_image>>.replace('.','')`
tox_environment:
type: string
steps:
- run: apt-get update -qy && apt-get install -qy git
- checkout
- run: pip install tox tox-factor
- run: tox -f <<parameters.tox_environment>>
Expand Down
2 changes: 1 addition & 1 deletion tests/api/configuration_test.py
Expand Up @@ -105,7 +105,7 @@ def test_buildkite_no_config_no_pr(self):
'CI_PULL_REQUEST': 'https://github.com/org/repo/pull/9999'},
clear=True)
def test_circleci_no_config(self):
cover = Coveralls()
cover = Coveralls(repo_token='xxx')
assert cover.config['service_name'] == 'circle-ci'
assert cover.config['service_job_id'] == '888'
assert cover.config['service_pull_request'] == '9999'
Expand Down

0 comments on commit bbc8115

Please sign in to comment.