python-mocket

a socket mock framework - for all kinds of socket animals, web-clients included

BSD-3-CLAUSE License

Downloads
15.8K
Stars
272
Committers
20

Bot releases are visible (Hide)

python-mocket - 3.12.6 Latest Release

Published by mindflayer 6 months ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.5...3.12.6

python-mocket - 3.12.5

Published by mindflayer 6 months ago

python-mocket - 3.12.4

Published by mindflayer 9 months ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.3...3.12.4

python-mocket - Better aiohttp support plus minor bugfixes

Published by mindflayer 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.2...3.12.3

python-mocket - Pook plugin available for Python versions newer than 3.10

Published by mindflayer 10 months ago

What's Changed

Thanks to @sarayourfriend for the hint about pook

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.0...3.12.2

python-mocket - Support for Python 3.12

Published by mindflayer 12 months ago

python-mocket - Support for `urllib2>=2`

Published by mindflayer over 1 year ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.11.0...3.11.1

python-mocket - Python 3.11 support

Published by mindflayer over 1 year ago

  • 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.
python-mocket - Minor improvements

Published by mindflayer almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.8...3.10.9

python-mocket - Mocket now supports calls from an asyncio event loop

Published by mindflayer about 2 years ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.7...3.10.8

python-mocket - Support for `httpx` client

Published by mindflayer about 2 years ago

What's Changed

Thanks to @gregbrowndev for openinig #182.

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.6...3.10.7

python-mocket - Removing an external dependency

Published by mindflayer over 2 years ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.5...3.10.6

python-mocket - Bugfix release

Published by mindflayer over 2 years ago

What's Changed

Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.4...3.10.5

python-mocket - Mocket STRICT mode

Published by mindflayer almost 3 years ago

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.

python-mocket - Introducing `Mocket.request_list()`

Published by mindflayer almost 3 years ago

Use Mocket.request_list() instead of Mocket._requests.

python-mocket - First step for helping spotting misconfigurations

Published by mindflayer almost 3 years ago

python-mocket - `Entry.collect` gets smarter

Published by mindflayer almost 3 years ago

Entry.collect() is now able to tell us (but it does not have to) to skip consuming a response and leave the current socket untouched.

Thanks @ykharko for opening issue #158.

python-mocket - Support for Python 3.10

Published by mindflayer about 3 years ago

python-mocket - Support for `decorator>=5`

Published by mindflayer about 3 years ago

Thanks to @micheles for the hints.

python-mocket - Support for `urllib3==1.26.5`

Published by mindflayer over 3 years ago

Thanks to @mmoraleda-smartprotection for opening issue #151 and sharing some hints.

Package Rankings
Top 3.08% on Pypi.org
Related Projects