Skip to content

Releases: mindflayer/python-mocket

Pook plugin available for Python versions newer than 3.10

25 Dec 11:47
91cfac0
Compare
Choose a tag to compare

What's Changed

Thanks to @sarayourfriend for the hint about pook

Full Changelog: 3.12.0...3.12.2

Support for Python 3.12

28 Oct 12:35
f7eeb78
Compare
Choose a tag to compare
Support for Python 3.12 (#204)

* Fix for Python 3.12
* Getting rid of Python 3.7, since it's not supported anymore.
* Precommit hooks' autoupdate.
* Disabling `aiohttp` for testing Python 3.12.

Support for `urllib2>=2`

12 May 10:34
b6336fc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.11.0...3.11.1

Python 3.11 support

19 Feb 16:00
2076471
Compare
Choose a tag to compare
  • Migrating the HTTP[S] mock from relying on http-parser to httptools.
  • Never discovered the root cause for the failing tests with aiohttp/Python 3.11 (first time ever I added @pytest.mark.xfail to a few tests). Same test works with httpx, so I suspect it's related to a client issue. I'll probably migrate to httpx as the reference client for testing async/await code.

Minor improvements

03 Dec 22:44
5313158
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.10.8...3.10.9

Mocket now supports calls from an asyncio event loop

23 Aug 16:12
3cb2a3a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.10.7...3.10.8

Support for `httpx` client

16 Aug 19:09
81474f1
Compare
Choose a tag to compare

What's Changed

  • Change methods not using its bound instance to staticmethods by @deepsource-autofix in #180
  • Adding support for httpx by @mindflayer in #183

Thanks to @gregbrowndev for openinig #182.

Full Changelog: 3.10.6...3.10.7

Removing an external dependency

17 May 19:06
4ea32fc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.10.5...3.10.6

Bugfix release

25 Apr 06:56
812fb46
Compare
Choose a tag to compare

What's Changed

  • Small refactor by @mindflayer in #172
  • Remove assert statement from non-test files by @deepsource-autofix in #173
  • Remove blank lines after docstring by @deepsource-autofix in #174
  • MocketEntry.request_class str vs bytes (fix for #175 ) by @michael-lazar in #177

Full Changelog: 3.10.4...3.10.5

Mocket STRICT mode

09 Jan 16:55
ed28805
Compare
Choose a tag to compare

Pass strict_mode=True when calling @mocketizer() or with Mocketizer() to make your test case fail in case it tries to use the real socket module.