httmock
httmock copied to clipboard
A mocking library for requests
Includes #65.
Includes #64. Travis CI has a new pricing model making it harder to test open source projects, and it's also stopped running. This PR add testing on GitHub Actions. #...
To use: ```sh python -m pip install tox tox # to test all versions tox -s # --skip-missing-interpreters, if you don't have a version installed tox -e py310 # to...
This is useful for downstream users, including OS packagers to QA/test if the package works correctly without requiring fetching the sources from the repository. Identified by: [FreeBSD Ports Bug 242694](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242694)...
This is useful for downstream distributions to test if the package works correctly with their build recipe. Also, it provides a way to test if the dependencies as they are...
please elaborate on how to capture complex urls with urlmatch. the query, scheme etc parameters are not mentioned anywhere in the documentation, neither is the fact that you cannot match...
I'm in the process of adding httmock to the FreeBSD ports tree. One [standard](https://wiki.freebsd.org/Python/PortsPolicy#Tests) for most python port is to include tests. Looking at the **httmock-1.2.6.tar.gz** from [https://pypi.python.org/pypi/httmock](https://pypi.python.org/pypi/httmock ) this...
It would be great to have a changelog file where the changes between releases were detailed. It would probably be too tedious to add all previous releases, but at least...
When a mock function returns a string, the response's URL is not set with the request's. I'm not sure if this is on purpose, but it seems the request is...
If `stream=True` and `close()` is called before reading the content, then the returned content should be the empty string.