def test_get_dbname_filename(self):
    self.db.open(self.path, dbtype=db.DB_HASH, flags=db.DB_CREATE)
    self.assertEqual((self.path, None), self.db.get_dbname())
def test_get_dbname_filename(self):
    self.db.open(self.path, dbtype=db.DB_HASH, flags=db.DB_CREATE)
    self.assertEqual((self.path, None), self.db.get_dbname())