diff --git a/tests/functional/binary_package/test_binary_package.py b/tests/functional/binary_package/test_binary_package.py index e54c371371..e06926baf2 100644 --- a/tests/functional/binary_package/test_binary_package.py +++ b/tests/functional/binary_package/test_binary_package.py @@ -24,7 +24,7 @@ class TestBinaryPackage(unittest.TestCase): Binary package tests. """ - def setup_method(self): + def setup_method(self, method): self.codechecker_bin = os.environ.get("CODECHECKER_BIN", "CodeChecker") self.compiler_bin = os.environ.get("CC", "gcc") @@ -46,7 +46,7 @@ def setup_method(self): self.old_pwd = os.getcwd() os.chdir(self.test_workspace) - def teardown_method(self): + def teardown_method(self, method): """ Restore environment and clear the workspace. """ os.chdir(self.old_pwd) shutil.rmtree(self.test_workspace, True)