def _teardown_database(self): SimpleTestCase._post_teardown(self) query = ''' START n = node(*) OPTIONAL MATCH n-[r]-() DELETE n, r; ''' self.graph_db.cypher.execute(query)
def _post_teardown(self): SimpleTestCase._post_teardown(self) MongoTestMixin._teardown_database(self)