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