diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-27 13:34:33 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-01-27 13:34:33 -0500 |
| commit | d8d03011b8dafe48b71e9eb3bc756d05da54a7bf (patch) | |
| tree | dde1fae4d98e80d2080b191704dbef529a8f157c /lib/sqlalchemy | |
| parent | d20d7549fd32d867739169ac2556f3fa0157b4b1 (diff) | |
| download | sqlalchemy-d8d03011b8dafe48b71e9eb3bc756d05da54a7bf.tar.gz | |
- repair the fixture/test here to make sure state isn't left over causing other tests to fail
Diffstat (limited to 'lib/sqlalchemy')
| -rw-r--r-- | lib/sqlalchemy/testing/fixtures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/fixtures.py b/lib/sqlalchemy/testing/fixtures.py index 464a723d2..28541b14b 100644 --- a/lib/sqlalchemy/testing/fixtures.py +++ b/lib/sqlalchemy/testing/fixtures.py @@ -348,5 +348,5 @@ class DeclarativeMappedTest(MappedTest): cls.DeclarativeBasic = _DeclBase fn() - if cls.metadata.tables: + if cls.metadata.tables and cls.run_create_tables: cls.metadata.create_all(config.db) |
