From d8d03011b8dafe48b71e9eb3bc756d05da54a7bf Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 27 Jan 2014 13:34:33 -0500 Subject: - repair the fixture/test here to make sure state isn't left over causing other tests to fail --- lib/sqlalchemy/testing/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy') 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) -- cgit v1.2.1