diff --git a/rhodecode/tests/functional/test_files.py b/rhodecode/tests/functional/test_files.py --- a/rhodecode/tests/functional/test_files.py +++ b/rhodecode/tests/functional/test_files.py @@ -25,11 +25,19 @@ class TestFilesController(TestController revision='tip', f_path='/')) # Test response... - response.mustcontain('docs') - response.mustcontain('tests') - response.mustcontain('vcs') - response.mustcontain('.hgignore') - response.mustcontain('MANIFEST.in') + response.mustcontain('docs') + response.mustcontain('vcs') + response.mustcontain('.gitignore') + response.mustcontain('.hgignore') + response.mustcontain('.hgtags') + response.mustcontain('.travis.yml') + response.mustcontain('MANIFEST.in') + response.mustcontain('README.rst') + response.mustcontain('run_test_and_report.sh') + response.mustcontain('setup.cfg') + response.mustcontain('setup.py') + response.mustcontain('test_and_report.sh') + response.mustcontain('tox.ini') def test_index_revision(self): self.log_user() @@ -79,7 +87,7 @@ class TestFilesController(TestController self.log_user() response = self.app.get(url(controller='files', action='index', repo_name=HG_REPO, - revision='27cd5cce30c96924232dffcd24178a07ffeb5dfc', + revision='8911406ad776fdd3d0b9932a2e89677e57405a48', f_path='vcs/nodes.py')) response.mustcontain("""
Partially implemented #16. filecontent/commit message/author/node name are safe_unicode now. @@ -100,7 +108,41 @@ removed extra unicode conversion in diff extra_environ={'HTTP_X_PARTIAL_XHR': '1'},) #test or history response.mustcontain(""" - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -135,16 +177,23 @@ removed extra unicode conversion in diff - - - + + - - - - - + + + + + + + + + + + + + """) @@ -167,8 +216,42 @@ removed extra unicode conversion in diff annotate=True), extra_environ={'HTTP_X_PARTIAL_XHR': '1'}) - response.mustcontain(""" - + response.mustcontain(""" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -203,16 +286,23 @@ removed extra unicode conversion in diff - - - + + - - - - - + + + + + + + + + + + + + """) def test_file_annotation_git(self):