Page MenuHomeSoftware Heritage
Paste P796

(An Untitled Masterwork)
ActivePublic

Authored by haltode on Oct 1 2020, 4:53 PM.
(python:.venv) ↪ git diff
diff --git a/swh/fuse/tests/api_data.py b/swh/fuse/tests/api_data.py
index 8bc2057..9fe1928 100644
--- a/swh/fuse/tests/api_data.py
+++ b/swh/fuse/tests/api_data.py
@@ -5,8 +5,7 @@ API_URL = "https://invalid-test-only.archive.softwareheritage.org/api/1"
ROOT_SWHID = "swh:1:dir:9eb62ef7dd283f7385e7d31af6344d9feedd25de"
MOCK_ARCHIVE = {
- "content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/": # NoQA: E501
- r"""
+ "content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/": r"""
{
"length": 727,
"status": "visible",
@@ -21,9 +20,8 @@ MOCK_ARCHIVE = {
"language_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/language/",
"license_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/license/"
}
- """, # NoQA: E501
- "content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/raw/": # NoQA: E501
- r"""
+ """, # NoQA: E501 # NoQA: E501
+ "content/sha1_git:669ac7c32292798644b21dbb5a0dc657125f444d/raw/": r"""
Linux kernel
============
@@ -42,9 +40,8 @@ several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
- """, # NoQA: E501
- "directory/9eb62ef7dd283f7385e7d31af6344d9feedd25de/": # NoQA: E501
- r"""
+ """, # NoQA: E501 # NoQA: E501
+ "directory/9eb62ef7dd283f7385e7d31af6344d9feedd25de/": r"""
[
{
"dir_id": "9eb62ef7dd283f7385e7d31af6344d9feedd25de",
@@ -440,5 +437,5 @@ the problems which may result by upgrading your kernel.
"target_url": "https://archive.softwareheritage.org/api/1/directory/d7f6f10a8509839e404d1cc5af51317ac8b26276/"
}
]
- """, # NoQA: E501
+ """, # NoQA: E501 # NoQA: E501
}

Event Timeline

haltode created this object in space S1 Public.