Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066247
D2166.id7393.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D2166.id7393.diff
View Options
diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1 +1 @@
-swh.core >= 0.0.60
+swh.core >= 0.0.75
diff --git a/requirements-test.txt b/requirements-test.txt
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -2,4 +2,4 @@
pytest-django
swh.scheduler[testing]
pytest-postgresql >= 2.1.0
-
+requests_mock
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -5,24 +5,23 @@
deps =
# the dependency below is needed for now as a workaround for
# https://github.com/pypa/pip/issues/6239
- swh.core[http] >= 0.0.61
+ swh.core[http] >= 0.0.75
.[testing]
pytest-cov
pifpaf
- pytest-django
commands =
- pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch {posargs} {envsitepackagesdir}/swh/deposit
-
+ pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch \
+ {envsitepackagesdir}/swh/deposit \
+ {posargs}
[testenv:py3-dev]
deps =
+ swh.core[http] >= 0.0.75
.[testing]
- pytest-cov
ipdb
commands =
pytest {envsitepackagesdir}/swh/deposit/ {posargs}
-
[testenv:flake8]
skip_install = true
deps =
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 3:59 AM (8 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220558
Attached To
D2166: deposit: Migrate last tests to pytest
Event Timeline
Log In to Comment