chore(lint): reformatting after black update

Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
moson-mo 2023-02-06 09:15:18 +01:00
parent 2373bdf400
commit f9a5188fb7
No known key found for this signature in database
GPG key ID: 4A4760AB4EE15296
8 changed files with 3 additions and 19 deletions

View file

@ -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