diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-08-23 19:38:04 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-08-23 19:38:04 +0000 |
commit | e01e972ac305d634cac3d63de6c5fa6688cd56c5 (patch) | |
tree | 6d2badd87117b4f7e0039a9587d18d12ab143bed | |
parent | c03b6c2e41f309b122e300b2625a9f744ad690b8 (diff) | |
download | sqlalchemy-e01e972ac305d634cac3d63de6c5fa6688cd56c5.tar.gz |
- fixed tearDown to reverse sorted table list
-rw-r--r-- | test/ext/declarative.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/declarative.py b/test/ext/declarative.py index b9fa57cf0..6b226cc9f 100644 --- a/test/ext/declarative.py +++ b/test/ext/declarative.py @@ -777,7 +777,7 @@ class DeclarativeReflectionTest(testing.TestBase): Base = decl.declarative_base(testing.db) def tearDown(self): - for t in reflection_metadata.sorted_tables: + for t in reversed(reflection_metadata.sorted_tables): t.delete().execute() def tearDownAll(self): |