diff --git a/rhodecode/tests/functional/test_tags.py b/rhodecode/tests/functional/test_tags.py --- a/rhodecode/tests/functional/test_tags.py +++ b/rhodecode/tests/functional/test_tags.py @@ -5,9 +5,9 @@ class TestTagsController(TestController) def test_index(self): self.log_user() response = self.app.get(url(controller='tags', action='index', repo_name=HG_REPO)) - assert """tip""" % HG_REPO, 'wrong info about tip tag' - assert """0.1.4""" % HG_REPO, 'wrong info about 0.1.4 tag' - assert """0.1.3""" % HG_REPO, 'wrong info about 0.1.3 tag' - assert """0.1.2""" % HG_REPO, 'wrong info about 0.1.2 tag' - assert """0.1.1""" % HG_REPO, 'wrong info about 0.1.1 tag' + assert """tip""" % HG_REPO in response.body, 'wrong info about tip tag' + assert """0.1.4""" % HG_REPO in response.body, 'wrong info about 0.1.4 tag' + assert """0.1.3""" % HG_REPO in response.body, 'wrong info about 0.1.3 tag' + assert """0.1.2""" % HG_REPO in response.body, 'wrong info about 0.1.2 tag' + assert """0.1.1""" % HG_REPO in response.body, 'wrong info about 0.1.1 tag' # Test response...