Lines Matching defs:publisher
42 import pkg.client.publisher as publisher
47 """Class to test the functionality of the pkg.client.publisher module.
75 uobj = publisher.RepositoryURI("https://example.com", **uprops)
127 uobj = publisher.RepositoryURI("https://example.com/")
139 uobj = publisher.RepositoryURI("https://example.com",
141 uobj = publisher.RepositoryURI("https://example.com",
142 proxies=[publisher.ProxyURI("http://foo.com")])
144 self.assertTrue(uobj.proxies == [publisher.ProxyURI(
150 uobj.proxies = [publisher.ProxyURI("http://foo.com")]
153 self.assertTrue(uobj.proxies == [publisher.ProxyURI("http://bar")])
157 publisher.RepositoryURI("http://foo", proxies=[
158 publisher.ProxyURI("http://bar")],
174 publisher.ProxyURI("http://foo.com"),
175 publisher.ProxyURI("http://bar.com")])
189 "collection_type": publisher.REPO_CTYPE_SUPPLEMENTAL,
211 "sort_policy": publisher.URI_SORT_PRIORITY,
215 robj = publisher.Repository(**rprops)
231 "collection_type": publisher.REPO_CTYPE_SUPPLEMENTAL,
253 "sort_policy": publisher.URI_SORT_PRIORITY,
257 robj = publisher.Repository()
272 robj = publisher.Repository()
288 cu = publisher.RepositoryURI(u, priority=1,
328 cu = publisher.RepositoryURI(u, priority=2,
345 robj = publisher.Repository(
346 collection_type=publisher.REPO_CTYPE_SUPPLEMENTAL,
368 sort_policy=publisher.URI_SORT_PRIORITY,
385 pobj = publisher.Publisher("bobcat", **pprops)
412 pobj = publisher.Publisher("tomcat")
445 pobj = publisher.ProxyURI("http://example.com")
458 pobj = publisher.ProxyURI("http://example.com")
478 self.assertTrue(pobj.uri == publisher.SYSREPO_PROXY)