# HG changeset patch # User Marcin Kuzminski # Date 2010-12-21 01:03:58 # Node ID 4bace4aada0969b77f00328bd358f4f7cef8fd84 # Parent 386fe4ce5f97b25134868d809cc457bdb8d97519 fixed tags tests 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...