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

0
tests/__init__.py Normal file
View File

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