Switch to side-by-side view

--- a/Allura/allura/tests/test_tasks.py
+++ b/Allura/allura/tests/test_tasks.py
@@ -33,13 +33,11 @@
     @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)
-        try:
-            repo_tasks.clone(None, None, fake_source_url)
-        except:
-            pass
-        post_event.assert_any_call('repo_clone_task_failed', fake_source_url, fake_traceback)
+        repo_tasks.clone(None, None, fake_source_url)
+        assert_equal(post_event.call_args[0][0], 'repo_clone_task_failed')
+        assert_equal(post_event.call_args[0][1], fake_source_url)
+        # ignore args[2] which is a traceback string
 
 
 class TestEventTasks(unittest.TestCase):