From: Mike Bayer Date: Mon, 1 Dec 2014 19:28:38 +0000 (-0500) Subject: - use a much bigger stamp here as only three chars can collide quite easily X-Git-Tag: rel_0_7_1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d5155de3491b9c52c673de5d07920872cdca808;p=thirdparty%2Fsqlalchemy%2Falembic.git - use a much bigger stamp here as only three chars can collide quite easily --- diff --git a/tests/test_command.py b/tests/test_command.py index 25791441..00610230 100644 --- a/tests/test_command.py +++ b/tests/test_command.py @@ -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' "