diff options
author | Mads Kiilerich <madski@unity3d.com> | 2013-03-20 15:32:23 +0100 |
---|---|---|
committer | Mads Kiilerich <madski@unity3d.com> | 2013-03-20 15:32:23 +0100 |
commit | daab33c407bbebf30dee337ba1513daee43ae036 (patch) | |
tree | 4f84c54df8979cc1015bf57b488324bbc97f34a2 /rhodecode/tests | |
parent | 97d3c298349740c3366bd2ef785632bd98cb758f (diff) |
avoid %r markup of unicode strings in user facing messages
Improves
Revision u'b7f4...' does not exist for this repository
--HG--
branch : beta
extra : transplant_source : By%A4/%D3%99%DB%F2%B6%7C1%0D%AFS%03%F7b%3F%06m
Diffstat (limited to 'rhodecode/tests')
-rw-r--r-- | rhodecode/tests/functional/test_files.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rhodecode/tests/functional/test_files.py b/rhodecode/tests/functional/test_files.py index c79a9199..a6945823 100644 --- a/rhodecode/tests/functional/test_files.py +++ b/rhodecode/tests/functional/test_files.py @@ -291,7 +291,7 @@ removed extra unicode conversion in diff.</div> revision=rev, f_path=f_path)) - msg = """Revision %r does not exist for this repository""" % (rev) + msg = """Revision %s does not exist for this repository""" % (rev) self.checkSessionFlash(response, msg) self.assertEqual('http://localhost/%s/files/tip/' % HG_REPO, response.headers['location']) @@ -305,7 +305,7 @@ removed extra unicode conversion in diff.</div> revision=rev, f_path=f_path)) - msg = "There is no file nor directory at the given path: %r at revision %r" % (f_path, rev[:12]) + msg = "There is no file nor directory at the given path: '%s' at revision %s" % (f_path, rev[:12]) self.checkSessionFlash(response, msg) #========================================================================== @@ -329,7 +329,7 @@ removed extra unicode conversion in diff.</div> repo_name=HG_REPO, revision=rev, f_path=f_path)) - msg = """Revision %r does not exist for this repository""" % (rev) + msg = """Revision %s does not exist for this repository""" % (rev) self.checkSessionFlash(response, msg) self.assertEqual('http://localhost/%s/files/tip/' % HG_REPO, response.headers['location']) @@ -342,7 +342,7 @@ removed extra unicode conversion in diff.</div> repo_name=HG_REPO, revision=rev, f_path=f_path)) - msg = "There is no file nor directory at the given path: %r at revision %r" % (f_path, rev[:12]) + msg = "There is no file nor directory at the given path: '%s' at revision %s" % (f_path, rev[:12]) self.checkSessionFlash(response, msg) def test_ajaxed_files_list(self): |