a socket mock framework - for all kinds of socket animals, web-clients included
BSD-3-CLAUSE License
Bot releases are visible (Hide)
str
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/230
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.5...3.12.6
Published by mindflayer 6 months ago
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.4...3.12.5
Published by mindflayer 9 months ago
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.3...3.12.4
Published by mindflayer 9 months ago
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.2...3.12.3
Published by mindflayer 10 months ago
Thanks to @sarayourfriend for the hint about pook
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.12.0...3.12.2
Published by mindflayer 12 months ago
Published by mindflayer over 1 year ago
aiohttp
with httpx
for a few tests by @mindflayer in https://github.com/mindflayer/python-mocket/pull/197
urllib2>=2
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/201
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.11.0...3.11.1
Published by mindflayer over 1 year ago
http-parser
to httptools
.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.Published by mindflayer almost 2 years ago
socketpair
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/189
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.8...3.10.9
Published by mindflayer about 2 years ago
httpx
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/186
fastapi
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/188
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.7...3.10.8
Published by mindflayer about 2 years ago
httpx
by @mindflayer in https://github.com/mindflayer/python-mocket/pull/183
Thanks to @gregbrowndev for openinig #182.
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.6...3.10.7
Published by mindflayer over 2 years ago
mock
dependency by @mindflayer in https://github.com/mindflayer/python-mocket/pull/179
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.5...3.10.6
Published by mindflayer over 2 years ago
Full Changelog: https://github.com/mindflayer/python-mocket/compare/3.10.4...3.10.5
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.
Published by mindflayer almost 3 years ago
Use Mocket.request_list()
instead of Mocket._requests
.
Published by mindflayer almost 3 years ago
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.
Published by mindflayer about 3 years ago
Published by mindflayer about 3 years ago
Thanks to @micheles for the hints.
Published by mindflayer over 3 years ago
Thanks to @mmoraleda-smartprotection for opening issue #151 and sharing some hints.