6f690483a9
- Update to 0.7.8 * feat: integer repeat * fix: case repeat=1 * docs: elaborate on meaning in documentation of repeat argument * use ClientSession base_url and headers * Refactor usage of session base_url and headers * Add tests for base_url and headers from session * Add __repr__ to RequestMatch * Upgrade yarl to be compatible with Python 3.12 * fix: review suggestion * fix: fix test * fix: added condition on py3.8 while supporting ClientSession.base_url * fix: flake8 - from version 0.7.7 * added passthrough_unmatched flag for aioresponses class * test for passing unmatched requests * add a readme description about passthrough_unmatched flag * feat: support raise_for_status as callable * Add packaging to requirements.txt * Update `__version__` to latest released version * Fix compat with aiohttp 3.11.0+ * fix: invalid rst code - Add test_pass_through_unmatched_requests to skipped tests - Update Requires from requirements.txt
Markéta Machová2025-04-07 12:16:38 +00:00
a4e0b6b071
Accepting request 1221236 from devel:languages:python
Ana Guerrero2024-11-05 14:39:45 +00:00
47f5bfd518
- update to 0.7.4: * bump py36 to ubuntu 20.04 * restore 3.6 * Adjust github actions test workflow * Fix python versions in env list * Add documentation for repeat argument * Add compat module * fix long line by adding line breaks * shorten comment to obey line length limit * split typing and assignment to avoid long line * Avoid type confusion by explicitly typing as \ClientResponse\ * ignore false positive mypy warning when \url\_or\_pattern\ is a \Pattern\ * add \py.typed\ to MANIFEST.in * add \py.typed\ file to package data in setup.py * fix version after release was tagged/released * Extend for arguments * Init assert\_called * Fix type annotations
Dirk Mueller2023-01-02 14:20:50 +00:00
2db8f21762
- update to 0.7.3: * Support binary bodies in responses * fix flake8 * move RequestInfo to compat * drop \.travis.yml\ * basic CI using github actions * (feat) add unit tests * (feat) allow for callbacks to be called before raising of exception * add \py.typed\ (PEP 561) * Fix setuptools warnings by replacing dashes in keys with underscores * fix version parsing * version 0.7.2 * Update aioresponses/core.py * adding catch to ignore ValueError when deepcopy is unsuccessful
Dirk Mueller2022-01-15 16:38:19 +00:00
39aff648ed
- update to 0.6.4 * Load response cookies from headers * BaseException handling(in Pyhton 3.8 asyncio.CancelError, asyncio.TimeoutError are subclass of BaseException) * exception can be as class or as object of exception(Exception or Exception()) * Change method to GET for redirect after POST request. * set request_info on response rather than a mock * Avoid failure in case one of the request arguments cannot be deep copied
Ondřej Súkup2020-06-08 09:49:08 +00:00