Commits

Mike Bayer  committed 346c033

fix broken tests

  • Participants
  • Parent commits 17deb97

Comments (0)

Files changed (1)

File test/orm/test_cascade.py

         # for 0.8
         User, Address = self.classes.User, self.classes.Address
         s = Session()
-        u1 = User(addresses=[None])
+        u1 = User(name='u', addresses=[None])
         s.add(u1)
         eq_(u1.addresses, [None])
         s.commit()
         User, Address = self.classes.User, self.classes.Address
         s = Session()
 
-        u1 = User()
+        u1 = User(name='u')
         s.add(u1)
         u1.addresses.append(None)
         eq_(u1.addresses, [None])