From 6d5155de3491b9c52c673de5d07920872cdca808 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 1 Dec 2014 14:28:38 -0500 Subject: [PATCH] - use a much bigger stamp here as only three chars can collide quite easily --- tests/test_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' " -- 2.47.2