Tests should not automatically remove endpoints
MKaptein opened this issue · comments
MKaptein commented
Although it is good practice for tests to remove all the resources they created, the default tests should not delete all the endpoints created by a specific user. Remove the delete loops from all tests.
MKaptein commented
Make sure to login using a test user; that way we can just delete everything.
MKaptein commented
All the tests of the package now, at the top of their respective files, contain "settings"; the default is to not run any tests at all (to prevent unintentional use of the tests). No tests automatically delete any endpoints, and the test_all_models.py
specifically prompts the user before remove any endpoints.