]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
- use a much bigger stamp here as only three chars can collide quite easily
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 1 Dec 2014 19:28:38 +0000 (14:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 1 Dec 2014 19:28:38 +0000 (14:28 -0500)
tests/test_command.py

index 257914417a7e8cc1fa406d906a4d2b47159890d6..00610230bf6861521273fb04b395a594a3034858 100644 (file)
@@ -317,7 +317,7 @@ class UpgradeDowngradeStampTest(TestBase):
 
     def test_sql_stamp_from_partial_rev(self):
         with capture_context_buffer() as buf:
-            command.stamp(self.cfg, "%s:head" % self.a[0:3], sql=True)
+            command.stamp(self.cfg, "%s:head" % self.a[0:7], sql=True)
         assert (
             "UPDATE alembic_version "
             "SET version_num='%s' "