Skip to content

Commit

Permalink
Merge branch 'develop' into kzscisoft/fix-binary-wrong-python-venv
Browse files Browse the repository at this point in the history
  • Loading branch information
kzscisoft committed Jan 6, 2022
2 parents 13b6a7d + 77d468b commit bcbc2ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fair/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def complete_jobs_data_products(ctx, param, incomplete) -> typing.List[str]:
if not os.path.exists(_staging_file):
return []
_staging_data = yaml.safe_load(open(_staging_file))
_candidates = [d for d in _staging_data["data_product"].keys()]
_candidates = list(_staging_data["data_product"].keys())
return [
click.shell_completion.CompletionItem(c)
for c in _candidates
Expand All @@ -66,7 +66,7 @@ def complete_jobs_data_products(ctx, param, incomplete) -> typing.List[str]:


@click.group()
@click.version_option()
@click.version_option(package_name='fair-cli')
def cli():
"""Welcome to FAIR-CLI, the FAIR data pipeline command-line interface."""
pass
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def test_registry_cli(
assert not glob.glob(os.path.join(tempd, "*"))


def test_run(
def test_cli_run(
local_config: typing.Tuple[str, str],
local_registry: conf.RegistryTest,
click_test: click.testing.CliRunner,
Expand Down

0 comments on commit bcbc2ef

Please sign in to comment.