Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
fix py3 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Aug 23, 2015
1 parent f3725f7 commit 34e82a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quokka/tests/test_basic.py
Expand Up @@ -7,7 +7,7 @@
class BasicTestCase(TestCase):

def setUp(self):
self.db = self.app.extensions.get('mongoengine').keys()[0]
self.db = list(self.app.extensions.get('mongoengine').keys())[0]
self.db.connection.drop_database('quokka_test')
from quokka.utils.populate import Populate
Populate(self.db)()
Expand Down

0 comments on commit 34e82a4

Please sign in to comment.