The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=bb60d265c9825d71cce84a42f66a435f05a6c5f7
commit bb60d265c9825d71cce84a42f66a435f05a6c5f7 Author: Alexander V. Chernikov <melif...@freebsd.org> AuthorDate: 2023-01-01 14:11:18 +0000 Commit: Alexander V. Chernikov <melif...@freebsd.org> CommitDate: 2023-01-01 14:11:18 +0000 testing: fix tests without cleanup in pytest. It was broken by 89ffac3b01fb3f6749799ac67b7d94056a36778e, which added "cleanup" method to the base test class, resulting in reporting cleanup for all of the tests. --- tests/atf_python/utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/atf_python/utils.py b/tests/atf_python/utils.py index 17824262b1fd..fddfadac9a56 100644 --- a/tests/atf_python/utils.py +++ b/tests/atf_python/utils.py @@ -50,7 +50,3 @@ class BaseTest(object): def setup_method(self, method): """Run all pre-requisits for the test execution""" self._check_modules() - - def cleanup(self, test_id: str): - """Cleanup all test resources here""" - pass