mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
chore(lint): reformatting after black update
Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
2373bdf400
commit
f9a5188fb7
8 changed files with 3 additions and 19 deletions
|
@ -131,7 +131,7 @@ def test_mkpkglists(
|
|||
(USERS, "test\n"),
|
||||
]
|
||||
|
||||
for (file, expected_content) in expectations:
|
||||
for file, expected_content in expectations:
|
||||
with gzip.open(file, "r") as f:
|
||||
file_content = f.read().decode()
|
||||
assert file_content == expected_content
|
||||
|
@ -172,7 +172,7 @@ def test_mkpkglists_extended_empty(config_mock: None):
|
|||
(META_EXT, "[\n]"),
|
||||
]
|
||||
|
||||
for (file, expected_content) in expectations:
|
||||
for file, expected_content in expectations:
|
||||
with gzip.open(file, "r") as f:
|
||||
file_content = f.read().decode()
|
||||
assert file_content == expected_content, f"{file=} contents malformed"
|
||||
|
@ -209,7 +209,7 @@ def test_mkpkglists_extended(config_mock: None, user: User, packages: list[Packa
|
|||
(USERS, "test\n"),
|
||||
]
|
||||
|
||||
for (file, expected_content) in expectations:
|
||||
for file, expected_content in expectations:
|
||||
with gzip.open(file, "r") as f:
|
||||
file_content = f.read().decode()
|
||||
assert file_content == expected_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue