~mvo/software-center/lp955005

« back to all changes in this revision

Viewing changes to test/test_testutils.py

  • Committer: Michael Vogt
  • Date: 2012-02-23 16:40:27 UTC
  • Revision ID: michael.vogt@ubuntu.com-20120223164027-oubalwzqms74odaa
test/: test fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
from testutils import setup_test_env
11
11
setup_test_env()
12
12
 
 
13
from softwarecenter.db.application import Application
13
14
from softwarecenter.testutils import start_dummy_backend, stop_dummy_backend
14
15
from softwarecenter.backend.installbackend_impl.aptd import get_dbus_bus
15
16
 
40
41
    def test_fake_aptd(self):
41
42
        from softwarecenter.backend import get_install_backend
42
43
        backend = get_install_backend()
43
 
        backend.install("2vcard", "", "")
 
44
        backend.install(Application("2vcard", ""), iconname="")
44
45
        self._p()
45
46
        
46
47
    def _p(self):