diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-04-16 15:24:56 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-04-16 15:24:56 -0400 |
| commit | b437bb213221e98fd5909a9082df8b4b6a25fc3f (patch) | |
| tree | 5164d0de867d1c8fcbe2617eef9a5cf99bc4f518 /test/sql/test_rowcount.py | |
| parent | ab62d418b2b3dda9693e371e084b33ac8d23a6a6 (diff) | |
| download | sqlalchemy-b437bb213221e98fd5909a9082df8b4b6a25fc3f.tar.gz | |
some more metadata cleanup since --dropall isnt specified on the buildbot
Diffstat (limited to 'test/sql/test_rowcount.py')
| -rw-r--r-- | test/sql/test_rowcount.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_rowcount.py b/test/sql/test_rowcount.py index 9577b104a..c12e2b272 100644 --- a/test/sql/test_rowcount.py +++ b/test/sql/test_rowcount.py @@ -11,7 +11,7 @@ class FoundRowsTest(TestBase, AssertsExecutionResults): def setup_class(cls): metadata = MetaData(testing.db) - global employees_table + global employees_table, metadata employees_table = Table('employees', metadata, Column('employee_id', Integer, @@ -20,7 +20,7 @@ class FoundRowsTest(TestBase, AssertsExecutionResults): Column('name', String(50)), Column('department', String(1)), ) - employees_table.create() + metadata.create_all() def setup(self): global data @@ -41,7 +41,7 @@ class FoundRowsTest(TestBase, AssertsExecutionResults): @classmethod def teardown_class(cls): - employees_table.drop() + metadata.drop_all() def testbasic(self): s = employees_table.select() |
