summaryrefslogtreecommitdiff
path: root/test/sql/test_constraints.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-06-21 18:11:04 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-06-21 18:11:04 -0400
commit650403ee643dabf64f11f6d3589124723dccaa01 (patch)
tree8b8e6c67f4a9d2fb55cf17d38244257aa42a4103 /test/sql/test_constraints.py
parenta1bbf3a005677c1371b02c54343f5407747e336d (diff)
downloadsqlalchemy-650403ee643dabf64f11f6d3589124723dccaa01.tar.gz
- fix test failures
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r--test/sql/test_constraints.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py
index 8dd15eb02..992289d3e 100644
--- a/test/sql/test_constraints.py
+++ b/test/sql/test_constraints.py
@@ -40,14 +40,14 @@ class ConstraintGenTest(fixtures.TestBase, AssertsExecutionResults):
testing.db,
lambda: metadata.create_all(checkfirst=False),
CompiledSQL('CREATE TABLE employees ('
- 'id INTEGER, '
- 'soc VARCHAR(40), '
+ 'id INTEGER NOT NULL, '
+ 'soc VARCHAR(40) NOT NULL, '
'name VARCHAR(30), '
'PRIMARY KEY (id, soc)'
')'
),
CompiledSQL('CREATE TABLE elements ('
- 'id INTEGER, '
+ 'id INTEGER NOT NULL, '
'stuff VARCHAR(30), '
'emp_id INTEGER, '
'emp_soc VARCHAR(40), '