File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,14 @@ async def test_desktop(monkeypatch):
6969 content = result .contents [0 ]
7070 assert isinstance (content , TextResourceContents )
7171 assert isinstance (content .text , str )
72- assert any (path in content .text for path in ["/fake/path/file1.txt" , "\\ \\ fake\\ \\ path\\ \\ file1.txt" ])
73- assert any (path in content .text for path in ["/fake/path/file2.txt" , "\\ \\ fake\\ \\ path\\ \\ file2.txt" ])
72+ assert any (
73+ path in content .text
74+ for path in ["/fake/path/file1.txt" , "\\ \\ fake\\ \\ path\\ \\ file1.txt" ]
75+ )
76+ assert any (
77+ path in content .text
78+ for path in ["/fake/path/file2.txt" , "\\ \\ fake\\ \\ path\\ \\ file2.txt" ]
79+ )
7480
7581
7682@pytest .mark .parametrize ("example" , find_examples ("README.md" ), ids = str )
You can’t perform that action at this time.
0 commit comments