diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-31 02:25:59 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-03-31 02:25:59 +0000 |
commit | 1a5e65c14f11ea2d88e2a00cea6cbd82f371e385 (patch) | |
tree | 73ccfa9c96954de8c11afe19efb940032166fb6a /test/testbase.py | |
parent | fc9889280221e2678c5d405e45bec14a6eef5acb (diff) | |
download | sqlalchemy-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.py | 1 |
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) |