test_server: Fix test failure with pytest 8.0.1
It seems a regression was introduced in latest pytest release in a way that xunit-style teardown_function is no longer called.
So turn it into an autouse fixture instead to workaround that issue.
Staging instance, all changes can be removed at any time
It seems a regression was introduced in latest pytest release in a way that xunit-style teardown_function is no longer called.
So turn it into an autouse fixture instead to workaround that issue.