def METHOD_NAME(self):
    def test(db_dict):
        weedb.create(db_dict)
        connect = weedb.connect(db_dict)
        cursor = connect.cursor()
        cursor.execute("CREATE TABLE bar (col1 int, col2 int)")
        with self.assertRaises(weedb.NoTableError) as e:
            cursor.execute("SELECT foo from fubar")
        cursor.close()
        connect.close()
    test(mysql1_dict)
    test(sqdb1_dict)