Changelog History
Page 1
-
v3.9.4 Changes
December 02, 2020Thanks to @brycedrennan for underlining it
-
v3.9.3 Changes
November 09, 2020Thanks to @KyleKing for reporting it.
-
v3.9.2 Changes
October 11, 2020๐คก https://github.com/mindflayer/python-mocket#example-of-how-to-fake-a-socket-errors
@mocketizedef test\_raise\_exception(self): url = "http://github.com/fluidicon.png"Entry.single\_register(Entry.GET, url, exception=socket.error()) with self.assertRaises(requests.exceptions.ConnectionError): requests.get(url)
-
v3.9.1 Changes
October 09, 2020โ Thanks to @amotl for #111 and the related test at https://gist.github.com/amotl/015ef6b336db55128798d7f1a9a67dea
-
v3.9.0 Changes
September 20, 2020๐ Fix for second
sendall
used for delivering request's body.โ Thanks to @ajhodges for writing the test which reproduced the issue.
-
v3.8.9 Changes
September 11, 2020๐คก Now the import line can be written as
from mocket.plugins.httpretty import httpretty, httprettified
. -
v3.8.8 Changes
August 19, 2020Thanks to @jonringer for the contribution.
-
v3.8.7 Changes
July 27, 2020๐ This version ships the change to support the
libmagic
wrapper distributed withfile
's command.๐ง With this change and thanks to @felixonmars contribution, Mocket is now available as Arch Linux package: https://www.archlinux.org/packages/community/any/python-mocket/
-
v3.8.6 Changes
June 18, 2020๐ Support for tests based on
unittest.IsolatedAsyncioTestCase
(Python3.8
). See:
https://github.com/mindflayer/python-mocket/blob/master/tests/tests38/test_http_aiohttp.pyThanks to @WisdomPill for the amazing contribution.
-
v3.8.5 Changes
June 18, 2020๐ Support for tests based on
unittest.IsolatedAsyncioTestCase
(Python3.8
). See:
https://github.com/mindflayer/python-mocket/blob/master/tests/tests38/test_http_aiohttp.pyThanks to @WisdomPill for the amazing contribution.