> > The test below (test/ext/test_orderinglist.py) demonstrates the behavior: >
93 def test_backref_set(self): 94 self._setup(ordering_list('position', count_from=0, 95 reorder_on_append=True)) 96 97 s1 = Slide('Slide #1') 98 99 self.assert_(not s1.bullets) 100 self.assert_(len(s1.bullets) == 0) 101 102 b0 = Bullet('s1/b0') 103 b0.slide = s1 104 105 self.assert_(s1.bullets) 106 self.assert_(len(s1.bullets) == 1) 107 self.assert_(s1.bullets[0] == b0) 108 self.assert_(s1.bullets[0].position == 1) ====================================================================== FAIL: test.ext.test_orderinglist.OrderingListTest.test_backref_set ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/henddher/.virtualenvs/github_zzzeek_sqlalchemy/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/Users/henddher/Documents/python_workspace/github_zzzeek_sqlalchemy/test/ext/test_orderinglist.py", line 108, in test_backref_set self.assert_(s1.bullets[0].position == 1) File "/Users/henddher/Documents/python_workspace/github_zzzeek_sqlalchemy/./lib/sqlalchemy/testing/fixtures.py", line 42, in assert_ assert val, msg AssertionError: None -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.