aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/tests
diff options
context:
space:
mode:
authorMads Kiilerich <madski@unity3d.com>2013-04-03 17:19:47 +0200
committerMads Kiilerich <madski@unity3d.com>2013-04-03 17:19:47 +0200
commit22f713d07f09d47b8dec72d9f0f848e76f2baa49 (patch)
treeea224c2c730f7d74664bf72b0dd2b53d5c6325be /rhodecode/tests
parentf151163590f68ec36da98d6a0ef4cc635b5f425a (diff)
Fix a lot of casings - use standard casing in most places
--HG-- branch : beta extra : source : 8586dddf9f86ac13d703c27cf52f93f0a53cc5bf
Diffstat (limited to 'rhodecode/tests')
-rw-r--r--rhodecode/tests/functional/test_files.py6
-rw-r--r--rhodecode/tests/functional/test_home.py4
-rw-r--r--rhodecode/tests/functional/test_summary.py8
3 files changed, 9 insertions, 9 deletions
diff --git a/rhodecode/tests/functional/test_files.py b/rhodecode/tests/functional/test_files.py
index 8e50e0ed..ca1373cc 100644
--- a/rhodecode/tests/functional/test_files.py
+++ b/rhodecode/tests/functional/test_files.py
@@ -57,7 +57,7 @@ class TestFilesController(TestController):
revision='97e8b885c04894463c51898e14387d80c30ed1ee',
f_path='/'))
- response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">branch: git</a></span>""")
+ response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">Branch: git</a></span>""")
def test_index_paging(self):
self.log_user()
@@ -89,7 +89,7 @@ Improved test to clone into uniq repository.
removed extra unicode conversion in diff.</div>
""")
- response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">branch: default</a></span>""")
+ response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">Branch: default</a></span>""")
def test_file_source_history(self):
self.log_user()
@@ -156,7 +156,7 @@ removed extra unicode conversion in diff.</div>
f_path='vcs/nodes.py',
annotate=True))
- response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">branch: default</a></span>""")
+ response.mustcontain("""<span style="text-transform: uppercase;"><a href="#">Branch: default</a></span>""")
def test_file_annotation_history(self):
self.log_user()
diff --git a/rhodecode/tests/functional/test_home.py b/rhodecode/tests/functional/test_home.py
index 6411a3b9..c8b8cab6 100644
--- a/rhodecode/tests/functional/test_home.py
+++ b/rhodecode/tests/functional/test_home.py
@@ -22,8 +22,8 @@ class TestHomeController(TestController):
response.mustcontain("""<img class="icon" title="Mercurial repository" """
"""alt="Mercurial repository" src="/images/icons/hg"""
"""icon.png"/>""")
- response.mustcontain("""<img class="icon" title="public repository" """
- """alt="public repository" src="/images/icons/lock_"""
+ response.mustcontain("""<img class="icon" title="Public repository" """
+ """alt="Public repository" src="/images/icons/lock_"""
"""open.png"/>""")
response.mustcontain(
diff --git a/rhodecode/tests/functional/test_summary.py b/rhodecode/tests/functional/test_summary.py
index 58d68ad5..522c93ad 100644
--- a/rhodecode/tests/functional/test_summary.py
+++ b/rhodecode/tests/functional/test_summary.py
@@ -25,7 +25,7 @@ class TestSummaryController(TestController):
)
response.mustcontain(
"""<img style="margin-bottom:2px" class="icon" """
- """title="public repository" alt="public """
+ """title="Public repository" alt="Public """
"""repository" src="/images/icons/lock_open.png"/>"""
)
@@ -64,7 +64,7 @@ class TestSummaryController(TestController):
)
response.mustcontain(
"""<img style="margin-bottom:2px" class="icon" """
- """title="public repository" alt="public """
+ """title="Public repository" alt="Public """
"""repository" src="/images/icons/lock_open.png"/>"""
)
@@ -84,7 +84,7 @@ class TestSummaryController(TestController):
"""title="Mercurial repository" alt="Mercurial """
"""repository" src="/images/icons/hgicon.png"/>""")
response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
- """title="public repository" alt="public """
+ """title="Public repository" alt="Public """
"""repository" src="/images/icons/lock_open.png"/>""")
def test_index_by_repo_having_id_path_in_name_hg(self):
@@ -112,7 +112,7 @@ class TestSummaryController(TestController):
"""title="Git repository" alt="Git """
"""repository" src="/images/icons/giticon.png"/>""")
response.mustcontain("""<img style="margin-bottom:2px" class="icon" """
- """title="public repository" alt="public """
+ """title="Public repository" alt="Public """
"""repository" src="/images/icons/lock_open.png"/>""")
def _enable_stats(self):