Skip to content

Commit

Permalink
Fixing the build and upgrading pytest and pytest-cov to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mtakaki committed Mar 18, 2018
1 parent 8ce89e4 commit 9e66736
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -11,3 +11,5 @@ share/
MANIFEST
dist/
.idea
.pytest_cache/
pip-selfcheck.json
4 changes: 2 additions & 2 deletions dev_requirements.txt
Expand Up @@ -3,7 +3,7 @@ codacy-coverage==1.2.18
ipython==4.2.0
mock==2.0.0
pudb==2016.1
pytest==2.9.1
pytest-cov==2.2.1
pytest==3.4.2
pytest-cov==2.5.1
requests==2.9.1
schedule==0.3.2
Empty file added tests/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/test_configuration.py
Expand Up @@ -24,7 +24,7 @@ def get(url, headers):
get_return = mock.Mock()
get_return.ok = True
get_return.json = mock.Mock()
get_return.json.return_value = {'data': {'status': 1}}
get_return.json.return_value = {'data': {'status': 1, 'default_value': 0.5}}
return get_return

sys.modules['requests'].get = get
Expand Down

0 comments on commit 9e66736

Please sign in to comment.