Commit 84129c2d authored by David Read's avatar David Read
Browse files

Fix tests.

parent 7fde1b43
......@@ -12,14 +12,15 @@ from nose.tools import assert_raises, assert_equal
from ckan import model
from ckan import plugins
from ckan.tests import BaseCase
from ckan.logic import get_action
try:
from ckan.tests.helpers import reset_db
from ckan.tests import factories as ckan_factories
from ckan.tests.legacy import BaseCase
except ImportError:
from ckan.new_tests.helpers import reset_db
from ckan.new_tests import factories as ckan_factories
from ckan.tests import BaseCase
from ckanext.archiver import model as archiver_model
from ckanext.archiver.model import Archival
......@@ -375,6 +376,7 @@ class TestArchiver(BaseCase):
assert params.get('package_id') == pkg['id']
assert params.get('resource_id') == None
class TestDownload(BaseCase):
'''Tests of the download method (and things it calls).
......
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