Permalink
Browse files

make all tests pass on travis

  • Loading branch information...
1 parent 32e21d4 commit 70f983be3f813339e470f2b26d89de2c6d0ce898 @reedobrien reedobrien committed Dec 8, 2012
Showing with 7 additions and 4 deletions.
  1. +1 −1 lumin/testing/base.py
  2. +1 −1 lumin/tests/functional/test_config.py
  3. +5 −2 testall
View
2 lumin/testing/base.py
@@ -16,7 +16,7 @@ def setUp(self):
request=self.request,
settings={
'secret': 'secret',
- 'db_name': 'test',
+ 'mongodb.db_name': 'test',
})
self.config.include('lumin')
View
2 lumin/tests/functional/test_config.py
@@ -15,7 +15,7 @@ def _includelumin(self):
self.config.include(lumin)
def _registerdb(self):
- self.config.registry.settings['db_name'] = 'frozznob'
+ self.config.registry.settings['mongodb.db_name'] = 'frozznob'
self.config.register_mongodb('mongodb://localhost')
def test_register_mongodb_directive(self):
View
7 testall
@@ -1,3 +1,6 @@
+###############################################################################
./env/bin/nosetests lumin lumin/tests/functional --with-coverage --cover-erase --cover-package=lumin --cover-erase --exclude=ZASIDE*
-
-# ../../bin/nosetests --nologcapture --nocapture --mongodb-bin=../../bin/mongod --mongodb-port=43000 $*
+###############################################################################
+###############################################################################
+./env3/bin/nosetests lumin lumin/tests/functional --with-coverage --cover-erase --cover-package=lumin --cover-erase
+###############################################################################

0 comments on commit 70f983b

Please sign in to comment.