[ckan-changes] commit/ckan: dread: [tests][xs]: Fixed test failure when running in sqlite and reenabled tests - from anomolous checkin 96d91479e096.

Bitbucket commits-noreply at bitbucket.org
Fri Jun 17 13:38:02 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/c3822feffb38/
changeset:   c3822feffb38
branch:      release-v1.4.1
user:        dread
date:        2011-06-17 15:37:53
summary:     [tests][xs]: Fixed test failure when running in sqlite and reenabled tests - from anomolous checkin 96d91479e096.
affected #:  1 file (82 bytes)

--- a/ckan/tests/misc/test_stats.py	Fri Jun 17 13:17:38 2011 +0100
+++ b/ckan/tests/misc/test_stats.py	Fri Jun 17 14:37:53 2011 +0100
@@ -15,8 +15,6 @@
     
     @classmethod
     def setup_class(self):
-        from ckan import plugins
-        plugins.load('synchronous_search')
         CreateTestData.create_search_test_data()
 
     @classmethod
@@ -188,7 +186,7 @@
         model.repo.commit_and_remove()
         return pkg_name
 
-class fdsTestRateStatsSimple(TimedRevision):
+class TestRateStatsSimple(TimedRevision):
     @classmethod
     def setup_class(self):
         model.repo.init_db()
@@ -247,7 +245,7 @@
         assert res == 1, res
 
 
-class fdsTestRateStats(TimedRevision):
+class TestRateStats(TimedRevision):
     @classmethod
     def setup_class(self):
         model.repo.init_db()

Repository URL: https://bitbucket.org/okfn/ckan/

--

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