def _pre_setup(self): """ (MongoTestMixin) -> (NoneType) create a new mongo connection. Note:- It explicitly uses Class name to call methods, since the calling overriden _setup_database and _teardown_database is not required behaviour, as it would not work with other Test Mixins like Redis or Neo4j, which have their own _setup_database and _teardown_database """ SimpleTestCase._pre_setup(self) MongoTestMixin._setup_database(self)
def _pre_setup(self): SimpleTestCase._pre_setup(self) RedisTestMixin._setup_database(self)
def _pre_setup(self): SimpleTestCase._pre_setup(self) Neo4jTestMixin._setup_database(self)