def test_utils_get_installed_apps_list(self):
     db = get_test_db()
     # installed pkgs
     installed_pkgs = get_installed_package_list()
     # the installed apps
     installed_apps = get_installed_apps_list(db)
     self.assertTrue(len(installed_apps) > 0)
     self.assertTrue(len(installed_pkgs) > len(installed_apps))
 def test_utils_get_installed_apps_list(self):
     from softwarecenter.db.utils import (get_installed_package_list,
                                          get_installed_apps_list)
     db = get_test_db()
     # installed pkgs
     installed_pkgs = get_installed_package_list()
     # the installed apps
     installed_apps = get_installed_apps_list(db)
     self.assertTrue(len(installed_apps) > 0)
     self.assertTrue(len(installed_pkgs) > len(installed_apps))
 def test_utils_get_installed_package_list(self):
     installed_pkgs = get_installed_package_list()
     self.assertTrue(len(installed_pkgs) > 0)
 def test_utils_get_installed_package_list(self):
     from softwarecenter.db.utils import get_installed_package_list
     installed_pkgs = get_installed_package_list()
     self.assertTrue(len(installed_pkgs) > 0)