diff options
Diffstat (limited to 'test/orm/inheritance/test_basic.py')
-rw-r--r-- | test/orm/inheritance/test_basic.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/orm/inheritance/test_basic.py b/test/orm/inheritance/test_basic.py index 3785fcdaa..271dd4959 100644 --- a/test/orm/inheritance/test_basic.py +++ b/test/orm/inheritance/test_basic.py @@ -68,11 +68,9 @@ class O2MTest(fixtures.MappedTest): l = sess.query(Blub).all() result = ','.join([repr(l[0]), repr(l[1]), repr(l[0].parent_foo), repr(l[1].parent_foo)]) - print compare - print result - self.assert_(compare == result) - self.assert_(l[0].parent_foo.data == 'foo #1' - and l[1].parent_foo.data == 'foo #1') + eq_(compare, result) + eq_(l[0].parent_foo.data, 'foo #1') + eq_(l[1].parent_foo.data, 'foo #1') class PolymorphicOnNotLocalTest(fixtures.MappedTest): @classmethod |