def tearDown(self): aparser = pamoney() setup_args = self.aparser.parser.parse_args(\ ('delete-repo %s --in re qa' % self.rname).split()) pulp_admin = ja(setup_args) mute()(pulp_admin.delete_repo)(repo_name=setup_args.name, envs=setup_args.envs)
def setUp(self): self.parser = pmoney() self.aparser = pamoney() self.cname = TESTCART self.cpath = os.path.expanduser('%s/%s.json' % (Constants.CART_LOCATION, self.cname)) self.rname = TESTREPO (self.connectors, self._defaults) = get_login_info() setup_args = self.aparser.parser.parse_args( ('repo create %s --in re qa' % self.rname).split()) pulp_admin = ja(setup_args) mute()(pulp_admin.create_repo)( repo_name=setup_args.name, envs=setup_args.envs)
def setUp(self): self.parser = pmoney() self.aparser = pamoney() self.cname = 'CHG0DAY' self.cpath = os.path.expanduser('~/.juicer-carts/%s.json' % self.cname) self.rname = 'hats' setup_args = self.aparser.parser.parse_args(\ ('create-repo %s --in re qa' % self.rname).split()) pulp_admin = ja(setup_args) mute()(pulp_admin.create_repo)(arch=setup_args.arch,\ repo_name=setup_args.name, envs=setup_args.envs)