[ckan-changes] commit/ckanext-dgu: dread: [tests][xs]: Fix import as ckan testcases have moved on default.

Bitbucket commits-noreply at bitbucket.org
Mon Jul 11 10:37:30 UTC 2011


1 new changeset in ckanext-dgu:

http://bitbucket.org/okfn/ckanext-dgu/changeset/0b72b84cf507/
changeset:   0b72b84cf507
user:        dread
date:        2011-07-11 12:33:50
summary:     [tests][xs]: Fix import as ckan testcases have moved on default.
affected #:  2 files (196 bytes)

--- a/ckanext/dgu/tests/forms/test_form_api_gov3.py	Mon Jul 11 11:02:26 2011 +0100
+++ b/ckanext/dgu/tests/forms/test_form_api_gov3.py	Mon Jul 11 11:33:50 2011 +0100
@@ -9,11 +9,11 @@
 from ckan.lib.helpers import literal
 import ckan.model as model
 from ckan.lib.create_test_data import CreateTestData
-from test_form_api import BaseFormsApiCase, Api1TestCase, Api2TestCase
+from ckan.tests.functional.api.base import (Api1TestCase,
+                                            Api2TestCase,
+                                            ApiUnversionedTestCase)
+from test_form_api import BaseFormsApiCase
 from ckanext.dgu.tests import MockDrupalCase, Gov3Fixtures, strip_organisation_id
-from ckan.tests.functional.api.test_model import Api1TestCase
-from ckan.tests.functional.api.test_model import Api2TestCase
-from ckan.tests.functional.api.test_model import ApiUnversionedTestCase
 
 
 class PackageFixturesBase:


--- a/ckanext/dgu/tests/functional/test_package_gov3.py	Mon Jul 11 11:02:26 2011 +0100
+++ b/ckanext/dgu/tests/functional/test_package_gov3.py	Mon Jul 11 11:33:50 2011 +0100
@@ -8,7 +8,10 @@
 from ckan.lib.helpers import literal
 from ckan.lib.create_test_data import CreateTestData
 from ckanext.dgu.forms.formapi import DrupalRequestError
-from ckanext.dgu.tests.forms.test_form_api import BaseFormsApiCase, Api1TestCase, Api2TestCase
+from ckan.tests.functional.api.base import (Api1TestCase,
+                                            Api2TestCase,
+                                            ApiUnversionedTestCase)
+from ckanext.dgu.tests.forms.test_form_api import BaseFormsApiCase
 from ckanext.dgu.tests import *
 
 package_form = 'package_gov3'

Repository URL: https://bitbucket.org/okfn/ckanext-dgu/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list