diff options
author | Malik Diarra <malik.diarra@gmail.com> | 2014-08-17 02:48:21 +0200 |
---|---|---|
committer | Malik Diarra <malik.diarra@gmail.com> | 2014-08-17 02:48:21 +0200 |
commit | 9eacc8d42ad49527c7fd0fe7e37100edba9eb1dc (patch) | |
tree | 1750310d0f200988bc6e65aa0ce4a895d913ae88 /test/dialect/postgresql/test_compiler.py | |
parent | 8e03430acdb98d7e5fef4a48a3120b928ed3266d (diff) | |
download | sqlalchemy-9eacc8d42ad49527c7fd0fe7e37100edba9eb1dc.tar.gz |
Correcting options name from withoids to with_oids
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
-rw-r--r-- | test/dialect/postgresql/test_compiler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dialect/postgresql/test_compiler.py b/test/dialect/postgresql/test_compiler.py index e4a8c02eb..5d1fddb49 100644 --- a/test/dialect/postgresql/test_compiler.py +++ b/test/dialect/postgresql/test_compiler.py @@ -179,11 +179,11 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): def test_create_table_with_oids(self): m = MetaData() - tbl = Table('atable', m, Column("id", Integer), postgresql_withoids = True, ) + tbl = Table('atable', m, Column("id", Integer), postgresql_with_oids = True, ) self.assert_compile(schema.CreateTable(tbl), "CREATE TABLE atable (id INTEGER)WITH OIDS") - tbl2 = Table('anothertable', m, Column("id", Integer), postgresql_withoids = False, ) + tbl2 = Table('anothertable', m, Column("id", Integer), postgresql_with_oids = False, ) self.assert_compile(schema.CreateTable(tbl2), "CREATE TABLE anothertable (id INTEGER)WITHOUT OIDS") @@ -195,7 +195,7 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): def create_table_with_multiple_options(self): m = MetaData() - tbl = Table('atable', m, Column("id", Integer), postgresql_tablespace = 'sometablespace', postgresql_withoids = False, postgresql_on_commit = "preserve_rows") + tbl = Table('atable', m, Column("id", Integer), postgresql_tablespace = 'sometablespace', postgresql_with_oids = False, postgresql_on_commit = "preserve_rows") self.assert_compile(schema.CreateTable(tbl), "CREATE TABLE atable (id INTEGER)WITHOUT OIDS ON COMMIT PRESERVE ROWS TABLESPACE sometablespace") |