コード例 #1
0
 def test_sort_pkglist(self):
     '''
         Test to accepts a dict obtained from pkg.list_pkgs() and sorts
         in place the list of versions for any packages that have multiple
         versions installed, so that two package lists can be compared
         to one another.
     '''
     self.assertIsNone(pkg_resource.sort_pkglist({}))
コード例 #2
0
ファイル: pkg_resource_test.py プロジェクト: DaveQB/salt
 def test_sort_pkglist(self):
     '''
         Test to accepts a dict obtained from pkg.list_pkgs() and sorts
         in place the list of versions for any packages that have multiple
         versions installed, so that two package lists can be compared
         to one another.
     '''
     self.assertIsNone(pkg_resource.sort_pkglist({}))