From fdc58f4141b094f06f87416def9edffa59ab17d9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 3 Aug 2007 18:56:23 +0000 Subject: [PATCH] changed to use class attributes --- test/orm/unitofwork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/orm/unitofwork.py b/test/orm/unitofwork.py index 839afe77c1..f28e428ed9 100644 --- a/test/orm/unitofwork.py +++ b/test/orm/unitofwork.py @@ -482,7 +482,7 @@ class ClauseAttributesTest(UnitOfWorkTest): sess.save(u) sess.flush() assert u.counter == 1 - u.counter = users_table.c.counter + 1 + u.counter = User.counter + 1 sess.flush() def go(): assert u.counter == 2 @@ -498,7 +498,7 @@ class ClauseAttributesTest(UnitOfWorkTest): sess.flush() assert u.counter == 1 u.name = 'test2' - u.counter = users_table.c.counter + 1 + u.counter = User.counter + 1 sess.flush() def go(): assert u.name == 'test2' -- 2.47.3