proxy.py/tests
Abhinav Singh 0c4e1cbda9
Testing support improvements (#185)
* Introduce proxy.Proxy context manager.

This is similar to already existing context manager `start` but
`proxy.Proxy` is a class with __enter__ and __exit__ methods. This
allows usage of `proxy.Proxy` both as context manager and for manually
setup and teardown of `proxy.py` during test setUpClass and
teardownClass methods.

* Gracefully shutdown threadless processes

* Update tests and add a VCR method. See #184

* Refactor routes

* Add Proxy to __all__

* Move TestCase under proxy.testing and test_embed.py under tests.embed module to avoid conflict with http module due to a http directory under proxy folder

* Add a base cache plugin class which can be customized for custom cache behaviors

* See #184. Add VCRPlugin which can be enabled within tests using a context manager, e.g. with self.vcr(): ...

* Make cache plugin pluggable + make cache storage pluggable

* Make dashboard npm module agnostic of top level directory

* Symlink dashboard public folder

* Dump devtools within dashboard public folder

* Remove unused 3rd party js
2019-11-21 21:16:01 -08:00
..
common Add private / public key generation utils which comply with new requirements on Mac OS 10.15 (#160) 2019-11-11 16:17:13 -08:00
core Test refactor + Docker image CI (#154) 2019-10-29 20:41:39 -07:00
embed Testing support improvements (#185) 2019-11-21 21:16:01 -08:00
http Move plugin_examples/ as proxy.plugin and update readme (#179) 2019-11-15 14:47:50 -08:00
__init__.py Test refactor + Docker image CI (#154) 2019-10-29 20:41:39 -07:00
test_main.py Allow to pass flags as kwargs too in embed mode (#172) 2019-11-13 16:38:59 -08:00
test_set_open_file_limit.py Allow to pass flags as kwargs too in embed mode (#172) 2019-11-13 16:38:59 -08:00