summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-09-09 12:24:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-09-09 12:24:43 -0400
commit10d3556a5501563a4110733ecc9d9ba8eb172a99 (patch)
tree0646aa84d3f89c2f9cf59ba298e06d5c1f312ee1 /tests/test_config.py
parenteffe3d89238923c5913449879adb1c685eb17c60 (diff)
downloadalembic-10d3556a5501563a4110733ecc9d9ba8eb172a99.tar.gz
- do an autopep8 pass for just about everything other
than line length
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 6164eb9..cd56d13 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -9,6 +9,7 @@ from . import Mock, call
from . import eq_, capture_db, assert_raises_message
+
def test_config_no_file_main_option():
cfg = config.Config()
cfg.set_main_option("url", "postgresql://foo/bar")
@@ -35,6 +36,7 @@ def test_standalone_op():
op.alter_column("t", "c", nullable=True)
eq_(buf, ['ALTER TABLE t ALTER COLUMN c DROP NOT NULL'])
+
def test_no_script_error():
cfg = config.Config()
assert_raises_message(
@@ -72,4 +74,3 @@ class OutputEncodingTest(unittest.TestCase):
stdout.mock_calls,
[call.write('m?il x y'), call.write('\n')]
)
-