Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-deposit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Platform
Development
Debian Packaging
swh-deposit
Commits
4f397054
Commit
4f397054
authored
1 year ago
by
Jenkins for Software Heritage
Browse files
Options
Downloads
Plain Diff
New upstream version 1.3.4
parents
48014807
aa38cc72
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
PKG-INFO
+1
-1
1 addition, 1 deletion
PKG-INFO
swh.deposit.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
swh.deposit.egg-info/PKG-INFO
swh/deposit/tests/api/conftest.py
+1
-1
1 addition, 1 deletion
swh/deposit/tests/api/conftest.py
swh/deposit/tests/conftest.py
+7
-1
7 additions, 1 deletion
swh/deposit/tests/conftest.py
with
10 additions
and
4 deletions
PKG-INFO
+
1
−
1
View file @
4f397054
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: swh.deposit
Name: swh.deposit
Version: 1.3.
3
Version: 1.3.
4
Summary: Software Heritage Deposit Server
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh.deposit.egg-info/PKG-INFO
+
1
−
1
View file @
4f397054
Metadata-Version: 2.1
Metadata-Version: 2.1
Name: swh.deposit
Name: swh.deposit
Version: 1.3.
3
Version: 1.3.
4
Summary: Software Heritage Deposit Server
Summary: Software Heritage Deposit Server
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Home-page: https://forge.softwareheritage.org/source/swh-deposit/
Author: Software Heritage developers
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh/deposit/tests/api/conftest.py
+
1
−
1
View file @
4f397054
# Copyright (C) 2019-202
1
The Software Heritage developers
# Copyright (C) 2019-202
3
The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
# See top-level LICENSE file for more information
...
...
This diff is collapsed.
Click to expand it.
swh/deposit/tests/conftest.py
+
7
−
1
View file @
4f397054
# Copyright (C) 2019-202
2
The Software Heritage developers
# Copyright (C) 2019-202
3
The Software Heritage developers
# See the AUTHORS file at the top-level directory of this distribution
# See the AUTHORS file at the top-level directory of this distribution
# License: GNU General Public License version 3, or any later version
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
# See top-level LICENSE file for more information
...
@@ -116,6 +116,12 @@ def pytest_configure():
...
@@ -116,6 +116,12 @@ def pytest_configure():
setup_django_for
(
"
testing
"
)
setup_django_for
(
"
testing
"
)
@pytest.fixture
def
datadir
(
request
):
"""
Override default datadir to target main test datadir
"""
return
os
.
path
.
join
(
os
.
path
.
dirname
(
str
(
request
.
fspath
)),
"
data
"
)
@pytest.fixture
@pytest.fixture
def
requests_mock_datadir
(
datadir
,
requests_mock_datadir
):
def
requests_mock_datadir
(
datadir
,
requests_mock_datadir
):
"""
Override default behavior to deal with put/post methods
"""
"""
Override default behavior to deal with put/post methods
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment