allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6595] Clean up tests
Date Fri, 23 Aug 2013 18:28:49 GMT
Updated Branches:
  refs/heads/master 259ae6e90 -> e42b20b37


[#6595] Clean up tests

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@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 <tvansteenburgh@gmail.com>
Authored: Fri Aug 23 18:28:36 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@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()


Mime
View raw message