Permalink
Browse files

tests

  • Loading branch information...
akariv committed Mar 20, 2018
1 parent 59177ca commit 1f57b2577e8e3e6a45fd1e2e8299aa600d77803d
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/module/blueprints/package/test_controllers.py
@@ -75,6 +75,7 @@ def setUp(self):
# Various patches
self.requests = patch.object(dpp_module, 'requests').start()
self.runner = patch.object(module, 'DppRunner').start()
self.runner.start = Mock(return_value=None)
module.os_api = 'api'
module.os_conductor = 'conductor'
@@ -92,7 +93,6 @@ def assertResponse(self, ret, status=None, progress=None, error=None):
def test___load___good_request(self):
api_load = module.upload
module.runner.start = Mock(return_value=None)
self.requests.get = Mock(return_value=Response(200, datapackage))
self.assertResponse(api_load('http://bla', token, cache_get, cache_set), 'queued', 0)

0 comments on commit 1f57b25

Please sign in to comment.