Switch to side-by-side view

--- a/Allura/allura/tests/model/test_repo.py
+++ b/Allura/allura/tests/model/test_repo.py
@@ -191,7 +191,10 @@
         self.repo._impl.refresh_heads = mock.Mock(side_effect=set_heads)
         self.repo.shorthand_for_commit = lambda oid: '[' + str(oid) + ']'
         self.repo.url_for_commit = lambda oid: '/ci/' + str(oid) + '/'
-        self.repo.refresh()
+        with mock.patch('allura.model.repo_refresh.g.post_event') as post_event:
+            self.repo.refresh()
+            post_event.assert_called_with(
+                    'repo_refreshed', commit_number=100, new=True)
         ThreadLocalORMSession.flush_all()
         notifications = M.Notification.query.find().all()
         for n in notifications:
@@ -519,4 +522,4 @@
         run = runs[0]
         self.assertEqual(run.commit_ids, commit_ids)
         self.assertEqual(len(run.commit_ids), len(run.commit_times))
-        self.assertEqual(run.parent_commit_ids, [])+        self.assertEqual(run.parent_commit_ids, [])