Changeset - f81b1fded4c9
[Not reviewed]
default
0 2 0
Marcin Kuzminski - 12 years ago 2013-06-17 22:58:22
marcin@python-works.com
fixed some tests after icon change
2 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/tests/functional/test_home.py
Show inline comments
 
@@ -26,8 +26,8 @@ class TestHomeController(TestController)
 
                        r"""alt=\"Mercurial repository\" src=\"/images/icons/hg"""
 
                        r"""icon.png\"/>""")
 
        response.mustcontain(r"""<img class=\"icon\" title=\"Public repository\" """
 
                        r"""alt=\"Public repository\" src=\"/images/icons/lock_"""
 
                        r"""open.png\"/>""")
 
                        r"""alt=\"Public repository\" src=\"/images/icons/public_"""
 
                        r"""repo.png\"/>""")
 

	
 
        response.mustcontain("""fixes issue with having custom format for git-log""")
 
        response.mustcontain("""/%s/changeset/5f2c6ee195929b0be80749243c18121c9864a3b3""" % GIT_REPO)
rhodecode/tests/functional/test_summary.py
Show inline comments
 
@@ -26,7 +26,7 @@ class TestSummaryController(TestControll
 
        response.mustcontain(
 
            """<img style="margin-bottom:2px" class="icon" """
 
            """title="Public repository" alt="Public """
 
            """repository" src="/images/icons/lock_open.png"/>"""
 
            """repository" src="/images/icons/public_repo.png"/>"""
 
        )
 

	
 
        #codes stats
 
@@ -68,7 +68,7 @@ class TestSummaryController(TestControll
 
        response.mustcontain(
 
            """<img style="margin-bottom:2px" class="icon" """
 
            """title="Public repository" alt="Public """
 
            """repository" src="/images/icons/lock_open.png"/>"""
 
            """repository" src="/images/icons/public_repo.png"/>"""
 
        )
 

	
 
        # clone url...
 
@@ -88,7 +88,7 @@ class TestSummaryController(TestControll
 
                        """repository" src="/images/icons/hgicon.png"/>""")
 
        response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
 
                        """title="Public repository" alt="Public """
 
                        """repository" src="/images/icons/lock_open.png"/>""")
 
                        """repository" src="/images/icons/public_repo.png"/>""")
 

	
 
    def test_index_by_repo_having_id_path_in_name_hg(self):
 
        self.log_user()
 
@@ -116,7 +116,7 @@ class TestSummaryController(TestControll
 
                        """repository" src="/images/icons/giticon.png"/>""")
 
        response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
 
                        """title="Public repository" alt="Public """
 
                        """repository" src="/images/icons/lock_open.png"/>""")
 
                        """repository" src="/images/icons/public_repo.png"/>""")
 

	
 
    def _enable_stats(self):
 
        r = Repository.get_by_repo_name(HG_REPO)
0 comments (0 inline, 0 general)