def METHOD_NAME(self):
    p = setup_parser()
    args = p.parse_args(['testcharm', '/tmp/testcharm'])
    self.assertEqual(args.charmname, 'testcharm')
    self.assertEqual(args.charmhome, '/tmp/testcharm')