def test_manager(self): URI = 'mysql://*****:*****@localhost/kvlite_test' collection = 'kvlite_test' manager = MysqlCollectionManager(URI) if collection in manager.collections(): manager.remove(collection) self.assertNotIn(collection, manager.collections()) manager.create(collection) self.assertIn(collection, manager.collections()) manager.remove(collection) self.assertNotIn(collection, manager.collections()) manager.close()