Commits

Mike Bayer  committed 7f8b6eb

fix mysql tests

  • Participants
  • Parent commits 74f43af

Comments (0)

Files changed (1)

File test/orm/naturalpks.py

         Table('users', metadata,
             Column('id', Integer, primary_key=True),
             Column('username', String(50), unique=True),
-            Column('fullname', String(100)))
+            Column('fullname', String(100)),
+            test_needs_fk=True)
 
         Table('addresses', metadata,
               Column('id', Integer, primary_key=True),
               Column('email', String(50)),
               Column('username', String(50),
-                     ForeignKey('users.username', onupdate="cascade")))
+                     ForeignKey('users.username', onupdate="cascade")),
+                     test_needs_fk=True
+                     )
 
     def setup_classes(self):
         class User(_base.ComparableEntity):