Lines Matching refs:format

78                 self.pkg("set-publisher -O http://{0}1 test1".format(self.bogus_url),
82 self.pkg("set-publisher -d --no-refresh -O http://{0}1 test1".format(
86 self.pkg("set-publisher -P -O http://{0}2 test2".format(
88 self.pkg("set-publisher -P --no-refresh -O http://{0}2 test2".format(
99 self.pkg("set-publisher --no-refresh -O http://{0}2 test3".format(
111 self.pkg("set-publisher --no-refresh -O http://{0}2 test3".format(
116 self.pkg("set-publisher --no-refresh -O http://{0}2 test3".format(
118 self.pkg("set-publisher --no-refresh -O http://{0}2 test4".format(
150 self.pkg("set-publisher -O http://{0}1 --no-refresh --reset-uuid test1".format(
153 self.pkg("set-publisher -O http://{0}1 --no-refresh test2".format(
167 "set-publisher -O http://{0}1 test1 -O http://{1}2 test2".format(
170 self.pkg("set-publisher -O http://{0}1 test1".format(self.bogus_url),
172 self.pkg("set-publisher -O http://{0}2 test2".format(self.bogus_url),
174 self.pkg("set-publisher --no-refresh -O https://{0}1 test1".format(
176 self.pkg("set-publisher --no-refresh -O http://{0}2 test2".format(
180 self.pkg("set-publisher --no-refresh -k {0} test1".format(key_path))
184 self.pkg("set-publisher --no-refresh -k {0} test2".format(key_path),
199 self.pkg("set-publisher --no-refresh -O https://{0}2 test2".format(
201 self.pkg("set-publisher --no-refresh -k {0} test2".format(
206 self.pkg("set-publisher --no-refresh -O http://{0}2 test2".format(
210 self.pkg("set-publisher --no-refresh -c {0} test1".format(cert_path))
214 self.pkg("set-publisher --no-refresh -c {0} test2".format(cert_path),
226 self.pkg("set-publisher --no-refresh -O https://{0}2 test2".format(
228 self.pkg("set-publisher --no-refresh -c {0} test2".format(
232 self.pkg("set-publisher --no-refresh -O http://{0}2 test2".format(
257 self.pkg("set-publisher --approve-ca-cert {0} test1".format(key_path),
289 self.pkg("set-publisher -O http://{0}1 test1".format(self.bogus_url),
291 self.pkg("set-publisher --no-refresh -O http://{0}1 test1".format(
294 self.pkg(("set-publisher -O http://{0}2 ".format(self.bogus_url)) +
296 self.pkg(("set-publisher -O http://{0}2 ".format(self.bogus_url)) +
299 self.pkg("set-publisher -O http://{0}1:abcde test2".format(
301 self.pkg("set-publisher -O ftp://{0}2 test2".format(self.bogus_url),
315 self.pkg("set-publisher --no-refresh -O http://{0}1 test1".format(
317 self.pkg("set-publisher --no-refresh -O http://{0}1 foo".format(
320 self.pkg("set-publisher -P --no-refresh -O http://{0}2 test2".format(
325 self.pkg("set-publisher -m http://{0}1 test".format(self.bogus_url),
327 self.pkg("set-publisher -m http://{0}2 test".format(
330 self.pkg("set-publisher -M http://{0}2 test".format(
332 self.pkg("set-publisher -M http://{0}2 test".format(
340 self.pkg("set-publisher --no-refresh -O https://{0}1 test1".format(
342 self.pkg("set-publisher --no-refresh -c {0} test1".format(cert_path))
343 self.pkg("set-publisher --no-refresh -k {0} test1".format(key_path))
374 self.pkg("set-publisher --no-refresh -O https://{0}1 test1".format(
376 self.pkg("set-publisher --no-refresh -O http://{0}2 test2".format(
384 "http://{2}2/\t-\n".format(self.rurl, self.bogus_url,
419 "--revoke-ca-cert {3} test ".format(
431 if not ((r1.format(app1_h) == ls[i] and
432 r2.format(app2_h) == ls[i+1] or \
433 (r1.format(app2_h) == ls[i]) and
434 r2.format(app1_h) == ls[i+1])):
437 "Output was:\n{2}".format(app1_h,
441 if not ((r3.format(rev1_h) == ls[i] and
442 r2.format(rev2_h) == ls[i+1]) or \
443 (r3.format(rev2_h) == ls[i] and
444 r2.format(rev1_h) == ls[i+1])):
447 "Output was:\n{2}".format(rev1_h,
484 self.pkg("set-publisher -g {0} test".format(self.durl1))
502 "--proxy http://foo test".format(
509 "--proxy http://foo test".format(
517 self.pkg("set-publisher --no-refresh -G {0} test".format(
520 self.assertTrue("{0}/\thttp://foo".format(
527 "--proxy http://foo test".format(
530 "test".format(add=add, url=self.durl), exit=1)
534 self.assertTrue("{0}/\thttp://foo".format(
536 self.assertTrue("\t\t{0}".format(self.durl not in self.output))
541 " test".format(remove=remove, url=self.durl),
544 "test".format(add=add, url=self.durl), exit=0)
546 self.assertTrue("{0}/\thttp://foo".format(
549 "{url} test".format(
556 "test".format(add=add))
558 "{add} http://c --proxy http://foo test".format(
576 self.pkg("set-publisher -p {0} test1".format(repo_dir))
585 self.pkg("set-publisher -g {0} test2".format(repo_dir))
593 self.pkg("set-publisher -g {0} test3".format(repo_dir))
613 -k {2} test1" .format(self.bogus_url, cert_path, key_path))
622 test1".format(self.bogus_url))
631 -k {2} test1".format(self.bogus_url, cert_path, key_path))
634 -k {2} foo".format(self.bogus_url, cert_path, key_path))
642 foo".format(self.bogus_url))
650 -k {2} foo".format(self.bogus_url, cert_path, key_path))
747 self.pkg("set-publisher --no-refresh {0} http://{1}1 test1".format(
749 self.pkg("set-publisher --no-refresh {0} http://{1}2 test1".format(
751 self.pkg("set-publisher --no-refresh {0} http://{1}5".format(add_opt,
753 self.pkg("set-publisher {0} test1".format(add_opt), exit=2)
754 self.pkg("set-publisher --no-refresh {0} http://{1}1 test1".format(
756 self.pkg("set-publisher {0} http://{1}5 test11".format(add_opt,
759 self.pkg("set-publisher {0} {1}7 test1".format(
763 self.pkg("set-publisher --no-refresh {0} http://{1}1 test1".format(
765 self.pkg("set-publisher --no-refresh {0} http://{1}2 test1".format(
770 self.pkg("set-publisher {0} test11 http://{1}2 http://{2}4".format(
772 self.pkg("set-publisher {0} http://{1}5".format(remove_opt,
775 self.pkg("set-publisher {0} test1".format(remove_opt), exit=2)
777 self.pkg("set-publisher {0} http://{1}5 test11".format(remove_opt,
779 self.pkg("set-publisher {0} http://{1}6 test1".format(remove_opt,
781 self.pkg("set-publisher {0} {1}7 test1".format(remove_opt,
785 self.pkg("set-publisher {0} {1} test1".format(add_opt, durl4))
786 self.pkg("set-publisher {0} {1} {2} {3} test1".format(add_opt, durl5,
788 self.pkg("publisher | grep {0}.*{1}".format(etype, durl5))
789 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4), exit=1)
790 self.pkg("set-publisher {0} {1} test1".format(remove_opt, durl5))
791 self.pkg("set-publisher {0} {1} {2} {3} {4} \* test1".format(add_opt,
793 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4))
794 self.pkg("publisher | grep {0}.*{1}".format(etype, durl5))
795 self.pkg("set-publisher {0} \* test1".format(remove_opt))
797 self.pkg("set-publisher {0} {1} test1".format(add_opt, durl1))
798 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4), exit=1)
799 self.pkg("publisher | grep {0}.*{1}".format(etype, durl5), exit=1)
803 self.pkg("set-publisher {0} {1} {2} http://b^^^/ogus test1".format(
805 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4), exit=1)
808 self.pkg("set-publisher {0} {1} {2} {3} test1".format(add_opt, durl4,
810 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4))
811 self.pkg("publisher | grep {0}.*{1}".format(etype, durl5))
814 self.pkg("set-publisher {0} {1} {2} {3} test1".format(remove_opt, durl4,
816 self.pkg("publisher | grep {0}.*{1}".format(etype, durl4), exit=1)
817 self.pkg("publisher | grep {0}.*{1}".format(etype, durl5), exit=1)
869 props += "{0}/{1}='({2})' ".format(
872 props += "{0}/{1}='{2}' ".format(
876 self.pkgrepo("set -s {0} -p {1} {2}".format(rpath, pfx, props))
877 self.pkgrepo("get -p all -s {0}".format(rpath))
892 self.pkg("set-publisher -p {0} test2".format(durl3), exit=1)
908 self.pkg("set-publisher -p {0}".format(durl3))
927 self.pkg("set-publisher -p {0}".format(durl3))
956 self.pkg("set-publisher -p {0}".format(durl6))
963 self.pkgrepo("set -s {0} -p test2 publisher/alias=''".format(
967 self.pkg("set-publisher -P -p {0}".format(durl6))
989 self.pkg("set-publisher -P -p {0}".format(durl6))
999 self.pkg("set-publisher -P --proxy http://myproxy -p {0}".format(
1023 self.pkg("set-publisher -g {0} test1".format(rurl1))
1032 self.pkg("set-publisher --no-refresh -k {0} -c {1} test1".format(
1050 self.pkg("set-publisher -G '*' -g {0} test1".format(durl1))
1057 self.pkg("set-publisher -m {0} test1".format(rurl1))
1060 self.pkg("set-publisher --no-refresh -k {0} -c {1} test1".format(
1065 self.pkg("set-publisher -M '*' -m {0} test1".format(durl1))
1088 self.pkg("set-publisher -g {0} -g {1} test1".format(durl4, durl5))
1089 self.pkg("set-publisher -O {0} test1".format(durl4))
1090 self.pkg("publisher | grep origin.*{0}".format(durl1), exit=1)
1091 self.pkg("publisher | grep origin.*{0}".format(durl5), exit=1)
1098 repo_uri = "file:{0}".format(repo_path)
1101 self.pkg("set-publisher -O {0} test1".format(repo_uri))
1105 self.pkg("set-publisher -O {0} test1".format(
1166 self.pkg("set-publisher -g {0} --enable test1".format(
1170 self.pkg("set-publisher -g {0} --disable test1".format(
1173 self.pkg("set-publisher -g {0} --enable test1".format(
1269 self.pkg("set-publisher -g {0} test4".format(
1272 self.pkg("set-publisher -g {0} --disable test4".format(
1302 self.pkg("set-publisher -g {0} --disable test4".format(
1482 self.pkg("set-publisher -p {0}".format(self.durl1))
1483 self.pkg("set-publisher -p {0}".format(self.durl2))
1484 self.pkg("set-publisher -p {0}".format(self.durl3))
1494 self.pkg("set-publisher -P -p {0}".format(self.durl2))
1499 self.pkg("set-publisher -P -p {0}".format(self.durl2))
1502 self.pkg("set-publisher -P -p {0}".format(self.durl1))
1503 self.pkg("set-publisher -p {0}".format(self.durl3))
1536 self.pkg("set-publisher --search-before test2 -p {0}".format(
1548 self.pkg("set-publisher -p {0} -p {1}".format(self.rurl1,
1583 "--revoke-ca-cert {4} test2 ".format(self.dcs[2].get_repo_url(),
1595 if not ((r1.format(app1_h) == ls[i] and
1596 r2.format(app2_h) == ls[i+1]) or \
1597 (r1.format(app2_h) == ls[i] and
1598 r2.format(app1_h) == ls[i+1])):
1601 "Output was:\n{2}".format(app1_h,
1605 if not ((r3.format(rev1_h) == ls[i] and
1606 r2.format(rev2_h) == ls[i+1]) or \
1607 (r3.format(rev2_h) == ls[i] and
1608 r2.format(rev1_h) == ls[i+1])):
1611 "Output was:\n{2}".format(rev1_h,
1633 "--revoke-ca-cert {4} test2 ".format(self.dcs[2].get_repo_url(),
1645 if not ((r1.format(app1_h) == ls[i] and
1646 r2.format(app2_h) == ls[i+1]) or \
1647 (r1.format(app2_h) == ls[i] and
1648 r2.format(app1_h) == ls[i+1])):
1651 "Output was:\n{2}".format(app1_h,
1655 if not ((r3.format(rev1_h) == ls[i] and
1656 r2.format(rev2_h) == ls[i+1]) or \
1657 (r3.format(rev2_h) == ls[i] and
1658 r2.format(rev1_h) == ls[i+1])):
1661 "Output was:\n{2}".format(rev1_h,