changeset 2180:c2d3cb1fdbde beta

fixed annotate tests
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 03 Apr 2012 00:01:29 +0200
parents 93f641f4b877
children e1c1ebbe7346
files rhodecode/tests/functional/test_files.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_files.py	Mon Apr 02 20:59:44 2012 +0200
+++ b/rhodecode/tests/functional/test_files.py	Tue Apr 03 00:01:29 2012 +0200
@@ -129,10 +129,11 @@
 
     def test_file_annotation(self):
         self.log_user()
-        response = self.app.get(url(controller='files', action='annotate',
+        response = self.app.get(url(controller='files', action='index',
                                     repo_name=HG_REPO,
                                     revision='27cd5cce30c96924232dffcd24178a07ffeb5dfc',
-                                    f_path='vcs/nodes.py'))
+                                    f_path='vcs/nodes.py',
+                                    annotate=True))
 
 
         response.mustcontain("""<optgroup label="Changesets">