Pytest's results change depending on what order the tests are defined in. Currently, the test cases pass but if you move the test_delete_skill definition above test_skill, the tests will fail. This potentially indicates that the state of test_client carries over between each test which is unexpected and I would consider to be incorrect behavior. Each test should be independent of the last to prevent breaking changes in the future.
Pytest's results change depending on what order the tests are defined in. Currently, the test cases pass but if you move the test_delete_skill definition above test_skill, the tests will fail. This potentially indicates that the state of test_client carries over between each test which is unexpected and I would consider to be incorrect behavior. Each test should be independent of the last to prevent breaking changes in the future.