summaryrefslogtreecommitdiff
path: root/test/testbase.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-03-31 02:25:59 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-03-31 02:25:59 +0000
commit1a5e65c14f11ea2d88e2a00cea6cbd82f371e385 (patch)
tree73ccfa9c96954de8c11afe19efb940032166fb6a /test/testbase.py
parentfc9889280221e2678c5d405e45bec14a6eef5acb (diff)
downloadsqlalchemy-1a5e65c14f11ea2d88e2a00cea6cbd82f371e385.tar.gz
Jonas Borgström's fantastic SelectRsults patch that adds dynamic list argument support to the mapper.select() methd. associated unit test tweaks and mapper integration.
Diffstat (limited to 'test/testbase.py')
-rw-r--r--test/testbase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testbase.py b/test/testbase.py
index f3dfac15b..1578be5a0 100644
--- a/test/testbase.py
+++ b/test/testbase.py
@@ -74,6 +74,7 @@ class AssertMixin(PersistTest):
"""given a list-based structure of keys/properties which represent information within an object structure, and
a list of actual objects, asserts that the list of objects corresponds to the structure."""
def assert_result(self, result, class_, *objects):
+ result = list(result)
if echo:
print repr(result)
self.assert_list(result, class_, objects)