Fixing the build and upgrading pytest and pytest-cov to latest

This commit is contained in:
Mitsuo Takaki
2018-03-18 14:43:41 -07:00
parent 8ce89e452f
commit 9e66736f48
4 changed files with 5 additions and 3 deletions
+2
View File
@@ -11,3 +11,5 @@ share/
MANIFEST
dist/
.idea
.pytest_cache/
pip-selfcheck.json
+2 -2
View File
@@ -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
View File
+1 -1
View File
@@ -24,7 +24,7 @@ class ConfigurationTest(unittest.TestCase):
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