Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9345960
D4765.id16953.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
891 B
Subscribers
None
D4765.id16953.diff
View Options
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
Details
Attached
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
Attached To
D4765: Make tests pass as soon as the setup.py is initialized.
Event Timeline
Log In to Comment