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 2014/02/05 18:15:30 UTC
git commit: [#6964] Make commit mock a proper activity object
Updated Branches:
refs/heads/master 27d540c30 -> 18b429969
[#6964] Make commit mock a proper activity object
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/18b42996
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/18b42996
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/18b42996
Branch: refs/heads/master
Commit: 18b429969f19191f33038315d94dc6bd073656fc
Parents: 27d540c
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Wed Feb 5 17:15:17 2014 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Wed Feb 5 17:15:17 2014 +0000
----------------------------------------------------------------------
ForgeSVN/forgesvn/tests/model/test_repository.py | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/18b42996/ForgeSVN/forgesvn/tests/model/test_repository.py
----------------------------------------------------------------------
diff --git a/ForgeSVN/forgesvn/tests/model/test_repository.py b/ForgeSVN/forgesvn/tests/model/test_repository.py
index 9b527f0..7dc2177 100644
--- a/ForgeSVN/forgesvn/tests/model/test_repository.py
+++ b/ForgeSVN/forgesvn/tests/model/test_repository.py
@@ -810,6 +810,10 @@ class TestRepo(_TestWithRepo):
ci.committed.name = committer_name
ci.committed.email = committer_email
ci.author_url = '/u/test-committer/'
+ ci.activity_name = '[deadbeef]'
+ ci.activity_url = 'url'
+ ci.activity_extras = {}
+ del ci.node_id
self.repo._impl.commit = mock.Mock(return_value=ci)
self.repo._impl.new_commits = mock.Mock(
return_value=['foo%d' % i for i in range(100)])