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