We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ee8fc commit 95b69bdCopy full SHA for 95b69bd
ckan/plugins/toolkit.py
@@ -89,6 +89,8 @@ def _initialize(self):
89
import ckan.common as common
90
import ckan.lib.datapreview as datapreview
91
from ckan.exceptions import CkanVersionException
92
+ import ckan.tests.helpers as test_helpers
93
+ import ckan.tests.factories as test_factories
94
95
from paste.deploy import converters
96
import pylons
@@ -215,6 +217,10 @@ def _initialize(self):
215
217
t['check_ckan_version'] = self._check_ckan_version
216
218
t['CkanVersionException'] = CkanVersionException
219
220
+ # for tests in extensions
221
+ t['test_helpers'] = test_helpers
222
+ t['test_factories'] = test_factories
223
+
224
# check contents list correct
225
errors = set(t).symmetric_difference(set(self.contents))
226
if errors:
0 commit comments