[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-03-21 22:41:53 +00:00
parent 22a127191d
commit 60c3b59552
2 changed files with 17 additions and 23 deletions

View file

@ -353,16 +353,13 @@ def test_ident_conflict(tmpdir, runner):
'error: foobar: Storage "foo" contains multiple items with the '
"same UID or even content"
) in result.output
assert (
sorted(
assert sorted(
[
"one.txt" in result.output,
"two.txt" in result.output,
"three.txt" in result.output,
]
)
== [False, True, True]
)
) == [False, True, True]
@pytest.mark.parametrize(

View file

@ -155,8 +155,7 @@ async def test_expand_collections(shortcuts, expected):
async def handle_not_found(config, collection):
return missing
assert (
sorted(
assert sorted(
await aiostream.stream.list(
expand_collections(
shortcuts,
@ -167,6 +166,4 @@ async def test_expand_collections(shortcuts, expected):
handle_not_found,
)
)
)
== sorted(expected)
)
) == sorted(expected)