py-ipv8
py-ipv8 copied to clipboard
Convert REST tests to use mocks
Currently, the IPv8 REST API tests launch a web server for each unit test. This takes in the order of seconds per unit test.
These tests can be sped up to the order of milliseconds by feeding mocked requests into their appropriate REST handler methods directly.