summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-07-13 16:36:31 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-07-13 16:36:31 +0000
commit70469bf26092095590aa441f41f5bcde11968ffc (patch)
treed9602091007435bd4101e2fc13a2dd5704c2732f /test
parent2cb2b624f97a88df857777104cc0db6d733306ef (diff)
downloadsqlalchemy-70469bf26092095590aa441f41f5bcde11968ffc.tar.gz
added count/count_by to assignmapper, plus a test in activemapper to try it out
Diffstat (limited to 'test')
-rw-r--r--test/ext/activemapper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ext/activemapper.py b/test/ext/activemapper.py
index 85466e29b..1ff8b0d7b 100644
--- a/test/ext/activemapper.py
+++ b/test/ext/activemapper.py
@@ -218,6 +218,8 @@ class testcase(testbase.PersistTest):
)
self.assertEquals(len(results), 1)
+ self.assertEquals(Person.count(), 2)
+
class testselfreferential(testbase.PersistTest):
def setUpAll(self):
global TreeNode