allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#3593] update test for changes in [8f5f6eb]
Date Wed, 13 Jul 2016 21:23:10 GMT
Repository: allura
Updated Branches:
  refs/heads/master c7cbaa2aa -> c4424b860


[#3593] update test for changes in [8f5f6eb]


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

Branch: refs/heads/master
Commit: c4424b8602f3991ad2b801618d1ee013613250ec
Parents: c7cbaa2
Author: Dave Brondsema <dave@brondsema.net>
Authored: Wed Jul 13 17:21:04 2016 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Jul 13 17:21:04 2016 -0400

----------------------------------------------------------------------
 ForgeSVN/forgesvn/tests/test_tasks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/c4424b86/ForgeSVN/forgesvn/tests/test_tasks.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/tests/test_tasks.py b/ForgeSVN/forgesvn/tests/test_tasks.py
index 35b426e..c928efb 100644
--- a/ForgeSVN/forgesvn/tests/test_tasks.py
+++ b/ForgeSVN/forgesvn/tests/test_tasks.py
@@ -25,6 +25,7 @@ import tg
 import mock
 from pylons import tmpl_context as c
 from paste.deploy.converters import asbool
+from nose.tools import assert_equal
 
 from alluratest.controller import setup_basic_test
 
@@ -58,7 +59,7 @@ class TestRepoTasks(unittest.TestCase):
             repo_tasks.init()
             M.main_orm_session.flush()
             assert f.called_with()
-            assert ns + 1 == M.Notification.query.find().count()
+            assert_equal(ns, M.Notification.query.find().count())
 
     def test_clone(self):
         ns = M.Notification.query.find().count()


Mime
View raw message