Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(373)

Unified Diff: ckan/tests/models/test_misc.py

Issue 3772048: sqlalchemy update with sqlite backend
Patch Set: Created 14 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ckan/tests/models/test_misc.py
===================================================================
--- a/ckan/tests/models/test_misc.py
+++ b/ckan/tests/models/test_misc.py
@@ -4,13 +4,14 @@
class TestRevisionExtraAttributes:
@classmethod
def setup_class(self):
+ model.repo.rebuild_db()
model.Session.remove()
CreateTestData.create()
@classmethod
def teardown_class(self):
CreateTestData.delete()
- model.repo.clean_db()
+ model.repo.rebuild_db()
def test_revision_packages(self):
rev = model.repo.youngest_revision()

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b