summaryrefslogtreecommitdiff
path: root/test/sql/constraints.py
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-12-28 07:40:56 +0000
committerMichael Trier <mtrier@gmail.com>2008-12-28 07:40:56 +0000
commitcae83f6d4fc3eef57814e6bd554bc39461644359 (patch)
tree6fa7468f27e727b43e6d5eeaf9080363e0639af1 /test/sql/constraints.py
parentdefba2fc020556dadd106e7e4e35907216d9208d (diff)
downloadsqlalchemy-cae83f6d4fc3eef57814e6bd554bc39461644359.tar.gz
On MSSQL if a field is part of the primary_key then it should not allow NULLS.
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r--test/sql/constraints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/constraints.py b/test/sql/constraints.py
index c9b52da7c..d019aa037 100644
--- a/test/sql/constraints.py
+++ b/test/sql/constraints.py
@@ -29,7 +29,7 @@ class ConstraintTest(TestBase, AssertsExecutionResults):
ForeignKeyConstraint(['emp_id', 'emp_soc'], ['employees.id', 'employees.soc'])
)
metadata.create_all()
-
+
def test_double_fk_usage_raises(self):
f = ForeignKey('b.id')