Beispiel #1
0
 def test_delete_table(self):
     expected = True
     dbUtil.create_table(self.conn, 'test_table_for_delete_table')
     actual = dbUtil.delete_table(self.conn, 'test_table_for_delete_table')
     eq_(actual, expected)
Beispiel #2
0
 def test_create_table(self):
     expected = True
     actual = dbUtil.create_table(self.conn, 'case_table')
     eq_(actual, expected)
     dbUtil.delete_table(self.conn, 'case_table')
Beispiel #3
0
 def teardown(self):
     dbUtil.delete_table(self.conn, 'test_table')
     dbUtil.drop_database(self.conn, 'test_database')
     dbUtil.disConnect(self.conn)