コード例 #1
0
 def test_drop_db_doesnt_cause_error_when_db_doesnt_exist(self):
     try:
         database.drop_db(db_name=self.TEST_DB)
     except Exception as e:
         self.fail('drop_db() raised exception: %s' % e)
コード例 #2
0
 def test_drop_db_doesnt_cause_error_when_db_doesnt_exist(self):
     try:
         database.drop_db(db_name=self.TEST_DB)
     except Exception as e:
         self.fail('drop_db() raised exception: %s' % e)
コード例 #3
0
 def test_drop_db_does_drop_database(self):
     self.create_database()
     database.drop_db(db_name=self.TEST_DB)
     self.assertFalse(database._db_exists(db_name=self.TEST_DB))
コード例 #4
0
 def test_drop_db_does_drop_database(self):
     self.create_database()
     database.drop_db(db_name=self.TEST_DB)
     self.assertFalse(database._db_exists(db_name=self.TEST_DB))