Page MenuHomeSoftware Heritage

D4765.id16953.diff
No OneTemporary

D4765.id16953.diff

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

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 3:37 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216530

Event Timeline