##// END OF EJS Templates
fixed some tests after icon change
marcink -
r4010:f81b1fde default
parent child Browse files
Show More
@@ -26,8 +26,8 b' class TestHomeController(TestController)'
26 26 r"""alt=\"Mercurial repository\" src=\"/images/icons/hg"""
27 27 r"""icon.png\"/>""")
28 28 response.mustcontain(r"""<img class=\"icon\" title=\"Public repository\" """
29 r"""alt=\"Public repository\" src=\"/images/icons/lock_"""
30 r"""open.png\"/>""")
29 r"""alt=\"Public repository\" src=\"/images/icons/public_"""
30 r"""repo.png\"/>""")
31 31
32 32 response.mustcontain("""fixes issue with having custom format for git-log""")
33 33 response.mustcontain("""/%s/changeset/5f2c6ee195929b0be80749243c18121c9864a3b3""" % GIT_REPO)
@@ -26,7 +26,7 b' class TestSummaryController(TestControll'
26 26 response.mustcontain(
27 27 """<img style="margin-bottom:2px" class="icon" """
28 28 """title="Public repository" alt="Public """
29 """repository" src="/images/icons/lock_open.png"/>"""
29 """repository" src="/images/icons/public_repo.png"/>"""
30 30 )
31 31
32 32 #codes stats
@@ -68,7 +68,7 b' class TestSummaryController(TestControll'
68 68 response.mustcontain(
69 69 """<img style="margin-bottom:2px" class="icon" """
70 70 """title="Public repository" alt="Public """
71 """repository" src="/images/icons/lock_open.png"/>"""
71 """repository" src="/images/icons/public_repo.png"/>"""
72 72 )
73 73
74 74 # clone url...
@@ -88,7 +88,7 b' class TestSummaryController(TestControll'
88 88 """repository" src="/images/icons/hgicon.png"/>""")
89 89 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
90 90 """title="Public repository" alt="Public """
91 """repository" src="/images/icons/lock_open.png"/>""")
91 """repository" src="/images/icons/public_repo.png"/>""")
92 92
93 93 def test_index_by_repo_having_id_path_in_name_hg(self):
94 94 self.log_user()
@@ -116,7 +116,7 b' class TestSummaryController(TestControll'
116 116 """repository" src="/images/icons/giticon.png"/>""")
117 117 response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
118 118 """title="Public repository" alt="Public """
119 """repository" src="/images/icons/lock_open.png"/>""")
119 """repository" src="/images/icons/public_repo.png"/>""")
120 120
121 121 def _enable_stats(self):
122 122 r = Repository.get_by_repo_name(HG_REPO)
General Comments 0
You need to be logged in to leave comments. Login now