Date: Sun, 1 Jan 2023 14:13:34 GMT From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bb60d265c982 - main - testing: fix tests without cleanup in pytest. Message-ID: <202301011413.301EDYiR086114@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=bb60d265c9825d71cce84a42f66a435f05a6c5f7 commit bb60d265c9825d71cce84a42f66a435f05a6c5f7 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-01-01 14:11:18 +0000 Commit: Alexander V. Chernikov <melifaro@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301011413.301EDYiR086114>