def METHOD_NAME(repo):
    expected_artifacts_path = ARTIFACTS_EXPEXTED_RESULTS / "integration_test"
    with ChangeCWD(repo.path):
        dir_path = repo.make_dir()
        runner = CliRunner()
        result = runner.invoke(
            main, [ARTIFACTS_CMD, "-a", dir_path, "--no-zip", "-mp", "marketplacev2"]
        )
        os.rmdir(dir_path + "/content_packs")
        assert same_folders(dir_path, expected_artifacts_path)
        assert result.exit_code == 0
        assert os.getenv(ENV_DEMISTO_SDK_MARKETPLACE) == "marketplacev2"