From 93bcf51257ec4ce2b97c942e51e56546ce8cd0cd Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Mon, 15 Jan 2024 18:51:04 -0800 Subject: [testing] Add most testing via tox.ini Consolidate testing, so that things can be run from CLI, CI and various other means in a consistent way by using tox. * Updated all the flake8 tests in the tests folder. * Added pylint as a neutral test so that we can work on this in stages and have some collaboration on what we test and don't * The tox tests for unit, stageone, stagetwo testing makes is easier for users to know how to run tests, and not have to do things manually * Using tox for CI doesn't make sense, as that will create virtual envs and will disregard system/snap based python modules so may not work Signed-off-by: Arif Ali --- tests/cleaner_tests/basic_function_tests/binary_test.py | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/cleaner_tests/basic_function_tests/binary_test.py') diff --git a/tests/cleaner_tests/basic_function_tests/binary_test.py b/tests/cleaner_tests/basic_function_tests/binary_test.py index 80bc841b..3fdbbd69 100644 --- a/tests/cleaner_tests/basic_function_tests/binary_test.py +++ b/tests/cleaner_tests/basic_function_tests/binary_test.py @@ -16,6 +16,5 @@ class BinaryPlugin(Plugin, IndependentPlugin): plugin_name = 'binary_test' short_desc = 'test plugin for removing binaries with --clean' - def setup(self): self.add_copy_spec('/var/log/binary_test.tar.xz') -- cgit