File tree Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Expand file tree Collapse file tree 2 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -353,16 +353,13 @@ def test_ident_conflict(tmpdir, runner):
353
353
'error: foobar: Storage "foo" contains multiple items with the '
354
354
"same UID or even content"
355
355
) in result .output
356
- assert (
357
- sorted (
358
- [
359
- "one.txt" in result .output ,
360
- "two.txt" in result .output ,
361
- "three.txt" in result .output ,
362
- ]
363
- )
364
- == [False , True , True ]
365
- )
356
+ assert sorted (
357
+ [
358
+ "one.txt" in result .output ,
359
+ "two.txt" in result .output ,
360
+ "three.txt" in result .output ,
361
+ ]
362
+ ) == [False , True , True ]
366
363
367
364
368
365
@pytest .mark .parametrize (
Original file line number Diff line number Diff line change @@ -155,18 +155,15 @@ async def get_discovered_b():
155
155
async def handle_not_found (config , collection ):
156
156
return missing
157
157
158
- assert (
159
- sorted (
160
- await aiostream .stream .list (
161
- expand_collections (
162
- shortcuts ,
163
- config_a ,
164
- config_b ,
165
- get_discovered_a ,
166
- get_discovered_b ,
167
- handle_not_found ,
168
- )
158
+ assert sorted (
159
+ await aiostream .stream .list (
160
+ expand_collections (
161
+ shortcuts ,
162
+ config_a ,
163
+ config_b ,
164
+ get_discovered_a ,
165
+ get_discovered_b ,
166
+ handle_not_found ,
169
167
)
170
168
)
171
- == sorted (expected )
172
- )
169
+ ) == sorted (expected )
You can’t perform that action at this time.
0 commit comments