/pkg/src/tests/api/ |
H A D | t_api_info.py | 38 import pkg.client.api as api namespace 54 api_obj.info, [], True, api.PackageInfo.ALL_OPTIONS - 55 (frozenset([api.PackageInfo.LICENSES]) | 56 api.PackageInfo.ACTION_OPTIONS)) 125 info_needed = api.PackageInfo.ALL_OPTIONS - \ 126 (api.PackageInfo.ACTION_OPTIONS | 127 frozenset([api.PackageInfo.LICENSES])) 130 self.assertTrue(not ret[api.ImageInterface.INFO_FOUND]) 131 self.assertTrue(len(ret[api [all...] |
H A D | t_api_refresh.py | 38 import pkg.client.api as api namespace 41 LIST_ALL = api.ImageInterface.LIST_ALL
|
H A D | t_api.py | 34 import pkg.client.api as api namespace 325 """Verify that properties of the ImageInterface api object are 352 """Verify that the publisher api methods work as expected. 452 "bobcat": (api.PackageInfo(ffoo),), 551 # that api functions still work as expected. 607 """Test deprecated api interfaces.""" 722 self.assertEqual(type(dest), api.LicenseInfo) 771 self.assertEqual(type(src), api.LicenseInfo) 778 self.assertEqual(type(dest), api [all...] |
H A D | t_api_list.py | 40 import pkg.client.api as api namespace 123 states = [api.PackageInfo.KNOWN] 125 states.append(api.PackageInfo.INSTALLED) 129 states.append(api.PackageInfo.UPGRADABLE) 133 states.append(api.PackageInfo.UPGRADABLE) 138 states.append(api.PackageInfo.UPGRADABLE) 140 states.append(api.PackageInfo.RENAMED) 142 states.append(api.PackageInfo.OBSOLETE) 147 states.append(api [all...] |
H A D | t_linked_image.py | 40 import pkg.client.api as api namespace 376 pkg_list = apio.get_pkg_list(api.ImageInterface.LIST_INSTALLED) 383 pkg_list = apio.get_pkg_list(api.ImageInterface.LIST_ALL)
|
H A D | t_api_search.py | 39 import pkg.client.api as api namespace 648 query = [api.Query(token, case_sensitive, return_actions, 656 query = [api.Query(token, case_sensitive, return_actions, 690 query = [api.Query(token, case_sensitive, return_actions, 698 query = [api.Query(token, case_sensitive, return_actions, 1662 Also tests whether multiple queries submitted via the api work. 2710 query = api.Query(token, case_sensitive, return_actions,
|
/pkg/src/tests/cli/ |
H A D | t_pkg_intent.py | 36 import pkg.client.api as api namespace 157 api_obj.info(plist, False, frozenset([api.PackageInfo.IDENTITY, 158 api.PackageInfo.STATE])) 164 frozenset([api.PackageInfo.DEPENDENCIES]))
|
H A D | t_pkgdep_resolve.py | 35 import pkg.client.api as api namespace
|
/pkg/src/modules/server/ |
H A D | face.py | 39 import pkg.server.api as api namespace 71 base = api.BaseInterface(request, depot, pub) 138 "server api: {error}".format(path=path,
|
/pkg/src/ |
H A D | pkgdep.py | 39 import pkg.client.api as api namespace 269 img_dir, provided_image_dir = api.get_default_image_root( 311 api_inst = api.ImageInterface(img_dir, CLIENT_API_VERSION, 606 "is {client} while the library\nAPI version is {api}").format( 609 api=__e.expected_version variable
|
H A D | sysrepo.py | 53 import pkg.client.api namespace 172 """Return a pkg.client.api.ImageInterface for the provided 181 api_inst = pkg.client.api.ImageInterface( 951 "{api}.").format(client=__e.received_version, 952 api=__e.expected_version))
|
H A D | client.py | 69 import pkg.client.api as api namespace 88 from pkg.client.api import (IMG_TYPE_ENTIRE, IMG_TYPE_PARTIAL, 1531 return api.ImageInterface(imgdir, CLIENT_API_VERSION, 1655 # All the api interface functions that we invoke have some 1796 plan = api.PlanDescription() 1837 """Do something that involves the api. 1841 assignment and will be passed directly on to the api 1860 # normal api behavior which doesn't prevent an api 5735 api=__e.expected_version variable [all...] |
/pkg/src/modules/lint/ |
H A D | engine.py | 27 import pkg.client.api namespace 93 search_type = pkg.client.api.ImageInterface.LIST_NEWEST 121 search_type = pkg.client.api.ImageInterface.LIST_ALL 345 # a reference to the pkg.client.api for our reference and lint 736 pkg.client.api.ImageInterface.LIST_ALL, 824 # fallback to our reference api, returning None if that's 829 """Return a pkg.client.api.ImageInterface for the provided 836 api_inst = pkg.client.api.ImageInterface( 872 # repositories will be caught by pkg.client.api.image_create. 879 api_inst = pkg.client.api [all...] |
/pkg/src/util/apache2/depot/ |
H A D | depot_index.py | 44 import pkg.server.api namespace 377 # the pkg.server.api, which means passing a DepotBUI object, 387 base = pkg.server.api.BaseInterface(cherrypy.request, depot,
|
/pkg/src/modules/publish/ |
H A D | dependencies.py | 38 import pkg.client.api as api namespace 1698 api.ImageInterface.LIST_INSTALLED,
|
/pkg/src/tests/ |
H A D | run.py | 198 import pkg.client.api as api namespace 202 if pkg5unittest.CLIENT_API_VERSION not in api.COMPATIBLE_API_VERSIONS: 254 # "testdir" will be "api", "cli", etc., so find all the files in that 268 # "api.t_filter" -> ["api", "t_filter"] 441 api_suite = find_tests("api", onlyval, startattest, output,
|
H A D | pkg5unittest.py | 138 import pkg.client.api namespace 2419 res = pkg.client.api.ImageInterface(img_path, 2438 to user) image using the pkg.client.api and returns the related 2464 api_inst = pkg.client.api.image_create(PKG_CLIENT_NAME, 2466 pkg.client.api.IMG_TYPE_ENTIRE, False, repo_uri=repourl, 3734 # ssl_ca_file needs to be set there so the api object calls work 3743 # ssl_ca_file needs to be set there so the api object calls work 3752 # ssl_ca_file needs to be set there so the api object calls work 3761 # ssl_ca_file needs to be set there so the api object calls work 4394 api_inst = pkg.client.api [all...] |
/pkg/src/modules/client/ |
H A D | client_api.py | 50 import pkg.client.api as api namespace 64 from pkg.client.api import (IMG_TYPE_ENTIRE, IMG_TYPE_PARTIAL, 621 pkg_list = api.ImageInterface.LIST_INSTALLED 624 pkg_list = api.ImageInterface.LIST_ALL 626 pkg_list = api.ImageInterface.LIST_INSTALLED_NEWEST 628 pkg_list = api.ImageInterface.LIST_NEWEST 630 pkg_list = api.ImageInterface.LIST_UPGRADABLE 673 [(api.PackageInfo.INSTALLED, "installed")], 674 [(api [all...] |