def test_hub_build_pull(): args = set_hub_build_parser().parse_args([os.path.join(cur_dir, 'hub-mwu'), '--pull', '--push']) HubIO(args).build() args = set_hub_pushpull_parser().parse_args(['jinahub/pod.dummy_mwu_encoder']) HubIO(args).pull() args = set_hub_pushpull_parser().parse_args(['jinahub/pod.dummy_mwu_encoder:0.0.6']) HubIO(args).pull()
def test_hub_build_pull(self): args = set_hub_build_parser().parse_args(['./hub-mwu', '--pull', '--push']) HubIO(args).build() args = set_hub_pushpull_parser().parse_args(['jinahub/pod.dummy_mwu_encoder']) HubIO(args).pull() args = set_hub_pushpull_parser().parse_args(['jinahub/pod.dummy_mwu_encoder:0.0.6']) HubIO(args).pull()