from .runtime import environment
from .runtime import migration
-__version__ = '1.4.2'
+__version__ = "1.4.2"
sys.modules["alembic.migration"] = migration
sys.modules["alembic.environment"] = environment
"No support for ALTER of constraints in SQLite dialect"
"Please refer to the batch mode feature which allows for "
"SQLite migrations using a copy-and-move strategy."
-
)
def compare_server_default(
def test_edit_head(self):
expected_call_arg = os.path.normpath(
"%s/scripts/versions/%s_revision_c.py"
- % (EditTest.cfg.config_args["here"], EditTest.c,)
+ % (EditTest.cfg.config_args["here"], EditTest.c)
)
with mock.patch("alembic.util.edit") as edit:
def test_edit_b(self):
expected_call_arg = os.path.normpath(
"%s/scripts/versions/%s_revision_b.py"
- % (EditTest.cfg.config_args["here"], EditTest.b,)
+ % (EditTest.cfg.config_args["here"], EditTest.b)
)
with mock.patch("alembic.util.edit") as edit:
def test_edit_current(self):
expected_call_arg = os.path.normpath(
"%s/scripts/versions/%s_revision_b.py"
- % (EditTest.cfg.config_args["here"], EditTest.b,)
+ % (EditTest.cfg.config_args["here"], EditTest.b)
)
command.stamp(self.cfg, self.b)