summaryrefslogtreecommitdiff
path: root/tests/atf_python
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2023-01-01 14:11:18 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2023-01-01 14:11:18 +0000
commitbb60d265c9825d71cce84a42f66a435f05a6c5f7 (patch)
tree58eb10836c10c03625974208b439134d4e172a58 /tests/atf_python
parent6541e7696fe157292770960dc7005ff998a1f5de (diff)
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.
Diffstat (limited to 'tests/atf_python')
-rw-r--r--tests/atf_python/utils.py4
1 files changed, 0 insertions, 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