diff options
author | Markus Mattes <mmattes87@gmail.com> | 2016-11-21 12:05:23 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-11-21 14:48:52 -0500 |
commit | e197537229a0f25e764f9f7dbd469635906004fb (patch) | |
tree | fe890859e546ca7ed5f09bbf48d9cc076feb3b96 /tests/test_script_consumption.py | |
parent | 685931d33854c887689754a4e8d8db061702bf6e (diff) | |
download | alembic-e197537229a0f25e764f9f7dbd469635906004fb.tar.gz |
file generated by alembic revison is now pep8 compliant
Change-Id: I233d2ba2cbbe6a363d9118182f1d855a6a12b00c
Pull-request: https://github.com/zzzeek/alembic/pull/31
Diffstat (limited to 'tests/test_script_consumption.py')
-rw-r--r-- | tests/test_script_consumption.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_script_consumption.py b/tests/test_script_consumption.py index c2eef0a..fc9d9aa 100644 --- a/tests/test_script_consumption.py +++ b/tests/test_script_consumption.py @@ -47,9 +47,11 @@ class ApplyVersionsFunctionalTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE foo(id integer)") + def downgrade(): op.execute("DROP TABLE foo") @@ -62,9 +64,11 @@ class ApplyVersionsFunctionalTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE bar(id integer)") + def downgrade(): op.execute("DROP TABLE bar") @@ -77,9 +81,11 @@ class ApplyVersionsFunctionalTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE bat(id integer)") + def downgrade(): op.execute("DROP TABLE bat") @@ -221,9 +227,11 @@ class VersionNameTemplateTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE foo(id integer)") + def downgrade(): op.execute("DROP TABLE foo") @@ -244,9 +252,11 @@ class VersionNameTemplateTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE foo(id integer)") + def downgrade(): op.execute("DROP TABLE foo") @@ -270,11 +280,14 @@ down_revision = None from alembic import op + def upgrade(): op.execute("CREATE TABLE foo(id integer)") + def downgrade(): op.execute("DROP TABLE foo") + """) pyc_path = util.pyc_file_from_path(path) if os.access(pyc_path, os.F_OK): @@ -350,9 +363,11 @@ class SourcelessNeedsFlagTest(TestBase): from alembic import op + def upgrade(): op.execute("CREATE TABLE foo(id integer)") + def downgrade(): op.execute("DROP TABLE foo") |