Skip to content

Commit

Permalink
A bit more info to see why test is broken on travis but not locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Apr 27, 2016
1 parent ae8d48e commit 7a158bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@ def test_ipipe_notified(self, url):
def test_package_achived_when_resource_modified(self, url, send_task):
data_dict = self._test_resource(url)
data_dict['url'] = 'http://example.com/foo'
context = {'model': model,
context = {'model': model,
'user': 'test',
'ignore_auth': True,
'session': model.Session}
result = get_action('resource_update')(context, data_dict)

assert send_task.called == True
assert_equal(send_task.called, True)

args, kwargs = send_task.call_args
assert args == ('archiver.update_package',)
Expand Down

0 comments on commit 7a158bb

Please sign in to comment.