diff --git a/requirements-swh.txt b/requirements-swh.txt --- a/requirements-swh.txt +++ b/requirements-swh.txt @@ -1,2 +1,2 @@ # Add here internal Software Heritage dependencies, one per line. -swh.core >= 0.3 +swh.core[http] >= 0.3 # [http] is required by swh.core.pytest_plugin diff --git a/swh/foo/cli.py b/swh/foo/cli.py --- a/swh/foo/cli.py +++ b/swh/foo/cli.py @@ -4,7 +4,7 @@ from swh.core.cli import swh as swh_cli_group -@swh_cli_group(name="foo", context_settings=CONTEXT_SETTINGS) +@swh_cli_group.group(name="foo", context_settings=CONTEXT_SETTINGS) @click.pass_context def foo_cli_group(ctx): """Foo main command. diff --git a/swh/foo/tests/test_nothing.py b/swh/foo/tests/test_nothing.py new file mode 100644 --- /dev/null +++ b/swh/foo/tests/test_nothing.py @@ -0,0 +1,3 @@ +def test_nothing(): + # Placeholder; remove this when we add actual tests + pass