def test_index(self): request = testing.DummyRequest() m = MainViews(request) response = m.index() self.assertEqual(response['title'], 'Dashboard')