def setUp(self):
     # new connection for just this test
     self.clean_connection = pmc.cache_connect(':memory:')
 def test_connection(self):
     """Connect to the default database. We will not be using the default
     for many tests."""
     conn = pmc.cache_connect()
     self.assertIsInstance(conn, sqlite3.Connection)
     conn.close()