# HG changeset patch # User domruf # Date 2017-08-16 22:24:55 # Node ID a0ed1a63e88935a2e3251ae54ba9c11fd1782356 # Parent 02fcbd2e4d955e4b4edf4852295766b24749de29 hg: drop test that used the illegal tag name '11' Mercurial would fail with RepositoryError: cannot use an integer as a name if trying to create such a tag through a high level api. We happen to use a low level api that doesn't perform that check. Still, the tag is wrong. diff --git a/kallithea/tests/vcs/test_tags.py b/kallithea/tests/vcs/test_tags.py --- a/kallithea/tests/vcs/test_tags.py +++ b/kallithea/tests/vcs/test_tags.py @@ -43,8 +43,6 @@ class TagsTestCaseMixin(_BackendTestMixi def test_name_with_slash(self): self.repo.tag('19/10/11', 'joe') self.assertTrue('19/10/11' in self.repo.tags) - self.repo.tag('11', 'joe') - self.assertTrue('11' in self.repo.tags) # For each backend create test case class