changeset 4010:f81b1fded4c9

fixed some tests after icon change
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 17 Jun 2013 22:58:22 +0200
parents 7563624e712c
children 4959e22af6ca
files rhodecode/tests/functional/test_home.py rhodecode/tests/functional/test_summary.py
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_home.py	Mon Jun 17 22:47:36 2013 +0200
+++ b/rhodecode/tests/functional/test_home.py	Mon Jun 17 22:58:22 2013 +0200
@@ -26,8 +26,8 @@
                         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)
--- a/rhodecode/tests/functional/test_summary.py	Mon Jun 17 22:47:36 2013 +0200
+++ b/rhodecode/tests/functional/test_summary.py	Mon Jun 17 22:58:22 2013 +0200
@@ -26,7 +26,7 @@
         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 @@
         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 @@
                         """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 @@
                         """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)