Permalink
Browse files

tests

  • Loading branch information...
akariv committed Mar 20, 2018
1 parent 1f57b25 commit 6d8338fcc5dd6407c13ad74a52966b1fff4c086a
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/module/blueprints/package/test_controllers.py
@@ -27,7 +27,7 @@ def json(self):
def raise_for_status(self):
if self.status_code != 200:
raise BaseException('HTTP {}'.format(self.status_code))
raise AssertionError('HTTP {}'.format(self.status_code))
datapackage = {
'name': 'my-dataset',
@@ -74,6 +74,7 @@ def setUp(self):
# Various patches
self.requests = patch.object(dpp_module, 'requests').start()
self.requests.exceptions.RequestException = IOError
self.runner = patch.object(module, 'DppRunner').start()
self.runner.start = Mock(return_value=None)
module.os_api = 'api'

0 comments on commit 6d8338f

Please sign in to comment.