Skip to content

Commit 9058c3a

Browse files
authored
Update test_provider.py
1 parent 6c61423 commit 9058c3a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/providers/owncloud/test_provider.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,8 @@ async def test_download_range(self, provider, file_metadata):
176176
assert result.partial
177177
content = await result.response.read()
178178
assert content == b'sq'
179-
assert aiohttpretty.has_call(
180-
method='GET', uri=url, headers={'Range': 'bytes=0-1', 'Accept-Encoding': 'identity'}
181-
)
179+
headers={'Range': 'bytes=0-1', 'Accept-Encoding': 'identity'}
180+
assert aiohttpretty.has_call(method='GET', uri=url, headers=headers)
182181

183182
@pytest.mark.asyncio
184183
@pytest.mark.aiohttpretty

0 commit comments

Comments
 (0)