~mmcg069/software-center/viewswitcher2

« back to all changes in this revision

Viewing changes to test/test_appdetails_view.py

  • Committer: Matthew McGowan
  • Date: 2010-11-24 12:09:40 UTC
  • mfrom: (794.89.216 trunk)
  • Revision ID: matthew.joseph.mcgowan@gmail.com-20101124120940-ap61f215kj09dbr3
merge w trunk and resolve.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        # icon mock
35
35
        mock_icons = mock.Mock()
36
36
        mock_icons.load_icon.return_value = None
37
 
        # history mock
38
 
        mock_history = mock.Mock()
39
 
        mock_history.rescan.return_value = True
40
37
        # create a details object
41
38
        self.appdetails = AppDetailsViewGtk(
42
 
            db, distro, mock_icons, cache, mock_history, datadir)
 
39
            db, distro, mock_icons, cache, datadir)
43
40
 
44
41
    def test_show_app_simple(self):
45
42
        app = Application("7zip","p7zip-full")