예제 #1
0
 def setUp(self):
     connect(db='mongoenginetest')
     MongoSession.drop_collection()
     super(MongoDBSessionTest, self).setUp()
예제 #2
0
 def setUp(self):
     connect(db='mongoenginetest')
     MongoSession.drop_collection()
     super(MongoDBSessionTest, self).setUp()
예제 #3
0
 def setUp(self):
     if PY3:
         raise SkipTest('django does not have Python 3 support')
     connect(db='mongoenginetest')
     MongoSession.drop_collection()
     super(MongoDBSessionTest, self).setUp()