You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2013/08/23 20:28:49 UTC

git commit: [#6595] Clean up tests

Updated Branches:
  refs/heads/master 259ae6e90 -> e42b20b37


[#6595] Clean up tests

Signed-off-by: Tim Van Steenburgh <tv...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e42b20b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e42b20b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e42b20b3

Branch: refs/heads/master
Commit: e42b20b376d78b61ed50326bf31ec2a08e4ea452
Parents: 259ae6e
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Fri Aug 23 18:28:36 2013 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Fri Aug 23 18:28:36 2013 +0000

----------------------------------------------------------------------
 ForgeGit/forgegit/tests/functional/test_controllers.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e42b20b3/ForgeGit/forgegit/tests/functional/test_controllers.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/tests/functional/test_controllers.py b/ForgeGit/forgegit/tests/functional/test_controllers.py
index 4b9476b..5af224e 100644
--- a/ForgeGit/forgegit/tests/functional/test_controllers.py
+++ b/ForgeGit/forgegit/tests/functional/test_controllers.py
@@ -295,7 +295,7 @@ class TestRootController(_TestCase):
         r = self.app.get(ci + 'tree/',
                 extra_environ={'username': str(user.username)})
         link = r.html.find('a', 'artifact_subscribe')
-        assert link is not None, header
+        assert link is not None, r.html
 
         # subscribe
         self.app.get(ci + 'tree/subscribe?subscribe=True',
@@ -305,7 +305,7 @@ class TestRootController(_TestCase):
         r = self.app.get(ci + 'tree/',
                 extra_environ={'username': str(user.username)})
         link = r.html.find('a', 'artifact_unsubscribe active')
-        assert link is not None, header
+        assert link is not None, r.html
 
         # unsubscribe
         self.app.get(ci + 'tree/subscribe?unsubscribe=True',
@@ -315,7 +315,7 @@ class TestRootController(_TestCase):
         r = self.app.get(ci + 'tree/',
                 extra_environ={'username': str(user.username)})
         link = r.html.find('a', 'artifact_subscribe')
-        assert link is not None, header
+        assert link is not None, r.html
 
     def test_timezone(self):
         ci = self._get_ci()