proxy.py/proxy/common
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
..
__init__.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
constants.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
flags.py Testing support improvements (#185) 2019-11-21 21:16:01 -08:00
pki.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
types.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
utils.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00
version.py Doc & Banner update to match GitHub (#182) 2019-11-18 20:45:51 -08:00