Michael Trier  committed 1640e26

Excluded another failing test from the mssql dialect.

MSSQL doesn't allow ON UPDATE for self-referential keys. The tree of cascading
referential actions must only have one path to a particular table on the
cascading referential actions tree.

  • Participants
  • Parent commits d666f1c
  • Branches default

Comments (0)

Files changed (1)

File test/orm/

         r = sess.query(Item).with_parent(u2).all()
         self.assertEquals(Item(itemname='item2'), r[0])
 class SelfRefTest(_base.MappedTest):
+    __unsupported_on__ = 'mssql' # mssql doesn't allow ON UPDATE on self-referential keys
     def define_tables(self, metadata):
         Table('nodes', metadata,
               Column('name', String(50), primary_key=True),