py-ipv8 icon indicating copy to clipboard operation
py-ipv8 copied to clipboard

Convert REST tests to use mocks

Open qstokkink opened this issue 7 months ago • 0 comments

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.

qstokkink avatar Jun 26 '24 11:06 qstokkink