def setUp(self):
        self.database_name = 'foobar'
        self.table_name = 'foobar'
        self.columns = ['col1', 'col2', 'col3']
        self.column_defn = [('col1', 'text'), ('col2', 'text'),
                            ('col3', 'integer')]
        self.row = [['x', 'y', 6], ['a', 's', 8], ['f', 'a', 7]]
        self.qrows = _quotestrs(self.row)
        self.filename = "b64pyshell.txt"
        self.encoding = "unicode"

        DatabaseCreateTable.create(self.database_name, self.table_name,
                                   self.column_defn)
 def setUp(self):
     self.database_name = 'foobar'
     self.table_name = 'foobar'
     self.columns = ['col1', 'col2', 'col3']
     self.column_defn = [('col1', 'text'), ('col2', 'text'),
                         ('col3', 'integer')]
     self.row = [['x', 'y', 6], ['a', 's', 8], ['f', 'a', 7]]
     self.qrows = _quotestrs(self.row)
     self.filename = "b64pyshell.txt"
     self.runtime_path = "C:\\Users\\burtnolej"
     DatabaseCreateTable.create(self.database_name,
                                self.table_name,
                                self.column_defn,
                                runtime_path=self.runtime_path)
 def test_create(self):
     DatabaseCreateTable.create(self.database_name, self.table_name,
                                self.column_defn)
     database = Database(self.database_name, True)
     with database:
         self.assertTrue(tbl_exists(database, self.table_name))