I can't answer your question specifically, but if you were to rewrite your 
code, you could use db.get() to get your table.

tableA = db.get(table_name)


You could then set table_name based on whether "test mode" was set or not.

Reply via email to