summaryrefslogtreecommitdiff
path: root/tests/test_script_consumption.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-07-03 13:10:41 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-07-03 13:10:41 -0400
commit0e43247da4cfd2d829ee4b350e336364cb8a7ec1 (patch)
treeb98e97333832e8db5f3c983f42771a2c15936ccc /tests/test_script_consumption.py
parent5ccc81701c08a482efa4b7080ca88608fd237130 (diff)
downloadalembic-0e43247da4cfd2d829ee4b350e336364cb8a7ec1.tar.gz
- squash merge of ticket_302 branch
- The internal system for Alembic operations has been reworked to now build upon an extensible system of operation objects. New operations can be added to the ``op.`` namespace, including that they are available in custom autogenerate schemes. fixes #302 - The internal system for autogenerate been reworked to build upon the extensible system of operation objects present in #302. A new customization hook process_revision_directives is added to allow manipulation of the autogen stream. Fixes #301
Diffstat (limited to 'tests/test_script_consumption.py')
-rw-r--r--tests/test_script_consumption.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_script_consumption.py b/tests/test_script_consumption.py
index 11b8080..c2eef0a 100644
--- a/tests/test_script_consumption.py
+++ b/tests/test_script_consumption.py
@@ -3,7 +3,8 @@
import os
import re
-from alembic import command, util, compat
+from alembic import command, util
+from alembic.util import compat
from alembic.script import ScriptDirectory, Script
from alembic.testing.env import clear_staging_env, staging_env, \
_sqlite_testing_config, write_script, _sqlite_file_db, \