scailable / sclblpy

Python package for Scailable uploads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests should not automatically remove endpoints

MKaptein opened this issue · comments

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.

Make sure to login using a test user; that way we can just delete everything.

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.