Changeset - a0ed1a63e889
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-08-16 22:24:55
dominikruf@gmail.com
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.
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/vcs/test_tags.py
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)