incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [37/44] git commit: [#5230] fix the fix
Date Tue, 27 Nov 2012 13:46:06 GMT
[#5230] fix the fix


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

Branch: refs/heads/cj/4691
Commit: 3dbcae44b40affd5e6e9878fe347a795b94a8815
Parents: b39068f
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Tue Nov 6 22:45:11 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Tue Nov 6 22:45:11 2012 +0000

----------------------------------------------------------------------
 Allura/allura/tests/test_tasks.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3dbcae44/Allura/allura/tests/test_tasks.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/test_tasks.py b/Allura/allura/tests/test_tasks.py
index 66a5eea..dfecdab 100644
--- a/Allura/allura/tests/test_tasks.py
+++ b/Allura/allura/tests/test_tasks.py
@@ -33,6 +33,7 @@ class TestRepoTasks(unittest.TestCase):
     @mock.patch('allura.tasks.repo_tasks.g.post_event')
     def test_clone_posts_event_on_failure(self, post_event, app):
         fake_source_url = 'fake_source_url'
+        fake_traceback = 'fake_traceback'
         app.repo.init_as_clone.side_effect = Exception(fake_traceback)
         repo_tasks.clone(None, None, fake_source_url)
         assert_equal(post_event.call_args[0][0], 'repo_clone_task_failed')


Mime
View raw message