Commit 7a158bb9 authored by David Read's avatar David Read
Browse files

A bit more info to see why test is broken on travis but not locally.

parent ae8d48e2
......@@ -340,13 +340,13 @@ class TestArchiver(BaseCase):
def test_package_achived_when_resource_modified(self, url, send_task):
data_dict = self._test_resource(url)
data_dict['url'] = ''
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',)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment