~ubuntu-branches/ubuntu/raring/software-center/raring-proposed

« back to all changes in this revision

Viewing changes to tests/gtk3/test_debfile_view.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2012-10-11 15:33:05 UTC
  • mfrom: (195.1.18 quantal)
  • Revision ID: package-import@ubuntu.com-20121011153305-fm5ln7if3rpzts4n
Tags: 5.4.1.1
* lp:~mvo/software-center/reinstall-previous-purchase-token-fix:
  - fix reinstall previous purchases that have a system-wide
    license key LP: #1065481
* lp:~mvo/software-center/lp1060106:
  - Add missing gettext init for utils/update-software-center-agent
    (LP: #1060106)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
)
9
9
setup_test_env()
10
10
 
11
 
import softwarecenter.paths
12
11
from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
13
12
from softwarecenter.ui.gtk3.panes.availablepane import AvailablePane
14
13
 
17
16
 
18
17
    def test_deb_file_view_error(self):
19
18
        mock_options = get_mock_options()
20
 
        xapianpath = softwarecenter.paths.XAPIAN_BASE_PATH
21
 
        app = SoftwareCenterAppGtk3(
22
 
            softwarecenter.paths.datadir, xapianpath, mock_options)
 
19
        app = SoftwareCenterAppGtk3(mock_options)
23
20
        app.run(["./data/test_debs/gdebi-test1.deb"])
24
21
        # give it time
25
22
        for i in range(10):