Commit f2aea6a2 authored by Florian Pritz's avatar Florian Pritz
Browse files

Make test more readable

Signed-off-by: Florian Pritz's avatarFlorian Pritz <>
parent a06fc0eb
......@@ -16,7 +16,9 @@ class TestUploader(unittest.TestCase):
response_ok = MagicMock(status_code=200)
mock_uploader.configure_mock(**{'upload.side_effect': [[response_ok, response_ok, response_ok, response_ok]]})
mock_uploader.upload.side_effect = [
[response_ok, response_ok, response_ok, response_ok]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment