3 ms·
I wrote a wrapper around httpretty called httpetrified, which uses a python-requests serialization format. Instead of writing multiple lines inside the unit tes
by kanzure 14y ago
I wrote a wrapper around httpretty called httpetrified, which uses a python-requests serialization format. Instead of writing multiple lines inside the unit test describing the mocks, you can just record an actual response into a file and refer to it in a decorator.
https://github.com/kanzure/python-requestions#decorator https://github.com/kanzure/python-requestions#decorator