@requires_sqlite
def test_default_values(self):
    models = self.introspector.generate_models()
    default_vals = models['default_vals']
    create_table = 'CREATE TABLE IF NOT EXISTS "default_vals" ("key" VARCHAR(255) NOT NULL DEFAULT \'foo\', "value" INTEGER NOT NULL DEFAULT 0, PRIMARY KEY ("key", "value"))'
    self.assertSQL(default_vals._schema._create_table(), create_table, [])
    default_vals.drop_table()
    default_vals.create_table()
    models = self.introspector.generate_models()
    default_vals = models['default_vals']
    self.assertSQL(default_vals._schema._create_table(), create_table, [])
@requires_sqlite
def test_default_values(self):
    models = self.introspector.generate_models()
    default_vals = models['default_vals']
    create_table = 'CREATE TABLE IF NOT EXISTS "default_vals" ("key" VARCHAR(255) NOT NULL DEFAULT \'foo\', "value" INTEGER NOT NULL DEFAULT 0, PRIMARY KEY ("key", "value"))'
    self.assertSQL(default_vals._schema._create_table(), create_table, [])
    default_vals.drop_table()
    default_vals.create_table()
    models = self.introspector.generate_models()
    default_vals = models['default_vals']
    self.assertSQL(default_vals._schema._create_table(), create_table, [])