diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-01 11:17:28 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-01-01 11:17:28 -0500 |
commit | d131dc42daf6aa9a14cfab210bbd84f1ec745ee2 (patch) | |
tree | 65a03e30f1d2964d22eb628bc54cc11b238806f9 /tests/test_oracle.py | |
parent | 961923c35782e7804f97242a6729a57f711d9e78 (diff) | |
download | alembic-d131dc42daf6aa9a14cfab210bbd84f1ec745ee2.tar.gz |
Source cleanups
- install flake8 to pre-commit hooks
- remove unused run_tests.py file
- ensure full pre-commit run succeeds
Change-Id: I31290078e48821ce9d78d45a74b51d0004047a1e
Diffstat (limited to 'tests/test_oracle.py')
-rw-r--r-- | tests/test_oracle.py | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/tests/test_oracle.py b/tests/test_oracle.py index 2001dd9..9556a2e 100644 --- a/tests/test_oracle.py +++ b/tests/test_oracle.py @@ -104,28 +104,16 @@ class OpTest(TestBase): def test_create_table_comment(self): # this is handled by SQLAlchemy's compilers context = op_fixture("oracle") - op.create_table_comment( - 't2', - comment='t2 table', - schema='foo' - ) - context.assert_( - "COMMENT ON TABLE foo.t2 IS 't2 table'" - ) + op.create_table_comment("t2", comment="t2 table", schema="foo") + context.assert_("COMMENT ON TABLE foo.t2 IS 't2 table'") @config.requirements.comments_api @config.requirements.sqlalchemy_issue_4436 def test_drop_table_comment(self): # this is handled by SQLAlchemy's compilers context = op_fixture("oracle") - op.drop_table_comment( - 't2', - existing_comment='t2 table', - schema='foo' - ) - context.assert_( - "COMMENT ON TABLE foo.t2 IS ''" - ) + op.drop_table_comment("t2", existing_comment="t2 table", schema="foo") + context.assert_("COMMENT ON TABLE foo.t2 IS ''") def test_drop_index(self): context = op_fixture("oracle") |