Permalink
Browse files

setup.py test working and missing print statement

  • Loading branch information...
1 parent 116cd0c commit 4652aa45344a2a54a36df65b954585df11ff6967 @digi604 digi604 committed Dec 20, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 cms/tests/menu.py
  2. +1 −1 runtests.py
View
@@ -114,7 +114,6 @@ def test_show_menu(self):
@skipUnless(settings.DATABASES['default']['ENGINE'] == 'django.db.backends.sqlite3', 'transaction queries')
def test_show_menu_num_queries(self):
- print settings.DATABASES['default']['ENGINE']
context = self.get_context()
# test standard show_menu
with self.assertNumQueries(5):
View
@@ -10,7 +10,7 @@
import os
-def main(db_url, test_runner='cms.test_utils.runners.NormalTestRunner', junit_output_dir='.',
+def main(db_url="sqlite://localhost/:memory:", test_runner='cms.test_utils.runners.NormalTestRunner', junit_output_dir='.',
time_tests=False, verbosity=1, failfast=False, test_labels=None):
if not test_labels:
test_labels = ['cms']

0 comments on commit 4652aa4

Please sign in to comment.