Skip to content

Commit

Permalink
Fix streaming test
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed Jan 17, 2017
1 parent 304d927 commit e06be67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/controller/test_compute.py
Expand Up @@ -289,7 +289,7 @@ def test_streamFile(project, async_run, compute):
response.status = 200
with asyncio_patch("aiohttp.ClientSession.request", return_value=response) as mock:
async_run(compute.stream_file(project, "test/titi"))
mock.assert_called_with("GET", "https://example.com:84/v2/compute/projects/{}/stream/test/titi".format(project.id), auth=None)
mock.assert_called_with("GET", "https://example.com:84/v2/compute/projects/{}/stream/test/titi".format(project.id), auth=None, timeout=None)


def test_downloadFile(project, async_run, compute):
Expand Down

0 comments on commit e06be67

Please sign in to comment.