./devel/py-mocket, Socket Mock Framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.12.9, Package name: py312-mocket-3.12.9, Maintainer: pkgsrc-users

A socket mock framework for all kinds of socket animals, web-clients
included - with gevent/asyncio/SSL support.


Master sites:

Filesize: 71.585 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-09 00:03:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mocket: updated to 3.12.4

3.12.4

When creating true socket connection, use host and port stored in instance \ 
variables, not in the Mocket class's variable
Switching to Compose v2
Add allowed locations (whitelist) for STRICT mode
   2024-01-19 23:20:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mocket: updated to 3.12.3

3.12.3

Fixes for allowing making a mixture of unmocked and mocked HTTPS requests using \ 
aiohttp
Merging external contribution
Adding testcase for proving 209 was fixed
   2024-01-14 16:22:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mocket: updated to 3.12.2

v3.12.2

Pook is now compatible with modern Python versions
Excluding venvs from dist packages
   2023-11-06 11:42:23 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-mocket: update to 3.12.0.

3.12.0

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.

3.11.1

Replace aiohttp with httpx for a few tests by @mindflayer in #197
Fix for urllib2>=2 by @mindflayer in #201

3.11.0

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.
   2022-08-24 14:52:40 by Thomas Klausner | Files touched by this commit (4)
Log message:
devel/py-mocket: import py-mocket-3.10.8

A socket mock framework for all kinds of socket animals, web-clients
included - with gevent/asyncio/SSL support.