From cae83f6d4fc3eef57814e6bd554bc39461644359 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Sun, 28 Dec 2008 07:40:56 +0000 Subject: On MSSQL if a field is part of the primary_key then it should not allow NULLS. --- test/sql/constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sql') 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') -- cgit v1.2.1