You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/11/07 20:29:01 UTC

[3/10] git commit: [#5230] fix the fix

[#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/db/5224
Commit: 3dbcae44b40affd5e6e9878fe347a795b94a8815
Parents: b39068f
Author: Dave Brondsema <db...@geek.net>
Authored: Tue Nov 6 22:45:11 2012 +0000
Committer: Dave Brondsema <db...@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')