mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Sort and ignore duplicates
This commit is contained in:
parent
ea2729ebe8
commit
333fe1a570
1 changed files with 60 additions and 61 deletions
|
@ -20,43 +20,42 @@ from tests.support.runtests import RUNTIME_VARS
|
|||
from tests.support.unit import TestCase, skipIf
|
||||
|
||||
EXCLUDED_DIRS = [
|
||||
os.path.join("tests", "pkg"),
|
||||
os.path.join("tests", "perf"),
|
||||
os.path.join("tests", "support"),
|
||||
os.path.join("tests", "unit", "setup"),
|
||||
os.path.join("tests", "unit", "utils", "cache_mods"),
|
||||
os.path.join("tests", "unit", "modules", "inspectlib"),
|
||||
os.path.join("tests", "unit", "modules", "zypp"),
|
||||
os.path.join("tests", "unit", "templates", "files"),
|
||||
os.path.join("tests", "integration", "files"),
|
||||
os.path.join("tests", "unit", "files"),
|
||||
os.path.join("tests", "integration", "cloud", "helpers"),
|
||||
os.path.join("tests", "integration", "files"),
|
||||
os.path.join("tests", "kitchen", "tests"),
|
||||
os.path.join("tests", "perf"),
|
||||
os.path.join("tests", "pkg"),
|
||||
os.path.join("tests", "support"),
|
||||
os.path.join("tests", "unit", "files"),
|
||||
os.path.join("tests", "unit", "modules", "inspectlib"),
|
||||
os.path.join("tests", "unit", "modules", "nxos"),
|
||||
os.path.join("tests", "unit", "modules", "zypp"),
|
||||
os.path.join("tests", "unit", "setup"),
|
||||
os.path.join("tests", "unit", "templates", "files"),
|
||||
os.path.join("tests", "unit", "utils", "cache_mods"),
|
||||
]
|
||||
INCLUDED_DIRS = [
|
||||
os.path.join("tests", "kitchen", "tests", "*", "tests", "*"),
|
||||
]
|
||||
EXCLUDED_FILES = [
|
||||
os.path.join("tests", "eventlisten.py"),
|
||||
os.path.join("tests", "buildpackage.py"),
|
||||
os.path.join("tests", "saltsh.py"),
|
||||
os.path.join("tests", "minionswarm.py"),
|
||||
os.path.join("tests", "wheeltest.py"),
|
||||
os.path.join("tests", "runtests.py"),
|
||||
os.path.join("tests", "jenkins.py"),
|
||||
os.path.join("tests", "salt-tcpdump.py"),
|
||||
os.path.join("tests", "packdump.py"),
|
||||
os.path.join("tests", "consist.py"),
|
||||
os.path.join("tests", "modparser.py"),
|
||||
os.path.join("tests", "virtualname.py"),
|
||||
os.path.join("tests", "committer_parser.py"),
|
||||
os.path.join("tests", "zypp_plugin.py"),
|
||||
os.path.join("tests", "unit", "utils", "scheduler", "base.py"),
|
||||
os.path.join("tests", "unit", "transport", "mixins.py"),
|
||||
os.path.join("tests", "consist.py"),
|
||||
os.path.join("tests", "eventlisten.py"),
|
||||
os.path.join("tests", "integration", "utils", "testprogram.py"),
|
||||
os.path.join("tests", "jenkins.py"),
|
||||
os.path.join("tests", "minionswarm.py"),
|
||||
os.path.join("tests", "modparser.py"),
|
||||
os.path.join("tests", "packdump.py"),
|
||||
os.path.join("tests", "runtests.py"),
|
||||
os.path.join("tests", "salt-tcpdump.py"),
|
||||
os.path.join("tests", "saltsh.py"),
|
||||
os.path.join("tests", "unit", "test_pytest_pass_fail.py"),
|
||||
os.path.join("tests", "unit", "transport", "mixins.py"),
|
||||
os.path.join("tests", "unit", "utils", "scheduler", "base.py"),
|
||||
os.path.join("tests", "virtualname.py"),
|
||||
os.path.join("tests", "wheeltest.py"),
|
||||
os.path.join("tests", "zypp_plugin.py"),
|
||||
]
|
||||
|
||||
|
||||
|
@ -122,27 +121,6 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
consider mapping it to files manually via tests/filename_map.yml.
|
||||
"""
|
||||
ignore = (
|
||||
"unit.test_pytest_pass_fail",
|
||||
"unit.test_doc",
|
||||
"unit.test_mock",
|
||||
"unit.test_module_names",
|
||||
"unit.test_virtualname",
|
||||
"unit.test_simple",
|
||||
"unit.test_zypp_plugins",
|
||||
"unit.test_proxy_minion",
|
||||
"unit.cache.test_cache",
|
||||
"unit.serializers.test_serializers",
|
||||
"unit.setup.test_man",
|
||||
"unit.states.test_postgres",
|
||||
"unit.utils.scheduler.test_run_job",
|
||||
"unit.utils.scheduler.test_maxrunning",
|
||||
"unit.utils.scheduler.test_eval",
|
||||
"unit.utils.scheduler.test_helpers",
|
||||
"unit.utils.scheduler.test_error",
|
||||
"unit.utils.scheduler.test_postpone",
|
||||
"unit.utils.scheduler.test_skip",
|
||||
"unit.utils.scheduler.test_schedule",
|
||||
"unit.setup.test_install",
|
||||
"integration.cli.test_custom_module",
|
||||
"integration.cli.test_grains",
|
||||
"integration.client.test_kwarg",
|
||||
|
@ -155,10 +133,10 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
"integration.grains.test_custom",
|
||||
"integration.loader.test_ext_grains",
|
||||
"integration.loader.test_ext_modules",
|
||||
"integration.logging.test_jid_logging",
|
||||
"integration.logging.handlers.test_logstash_mod",
|
||||
"integration.master.test_event_return",
|
||||
"integration.logging.test_jid_logging",
|
||||
"integration.master.test_clear_funcs",
|
||||
"integration.master.test_event_return",
|
||||
"integration.minion.test_blackout",
|
||||
"integration.minion.test_executor",
|
||||
"integration.minion.test_minion_cache",
|
||||
|
@ -168,9 +146,9 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
"integration.modules.test_pkg",
|
||||
"integration.modules.test_state_jinja_filters",
|
||||
"integration.modules.test_sysctl",
|
||||
"integration.netapi.test_client",
|
||||
"integration.netapi.rest_tornado.test_app",
|
||||
"integration.netapi.rest_cherrypy.test_app_pam",
|
||||
"integration.netapi.rest_tornado.test_app",
|
||||
"integration.netapi.test_client",
|
||||
"integration.output.test_output",
|
||||
"integration.pillar.test_pillar_include",
|
||||
"integration.proxy.test_shell",
|
||||
|
@ -178,22 +156,22 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
"integration.reactor.test_reactor",
|
||||
"integration.returners.test_noop_return",
|
||||
"integration.runners.test_runner_returns",
|
||||
"integration.shell.test_spm",
|
||||
"integration.shell.test_cp",
|
||||
"integration.shell.test_syndic",
|
||||
"integration.shell.test_proxy",
|
||||
"integration.shell.test_arguments",
|
||||
"integration.shell.test_auth",
|
||||
"integration.shell.test_call",
|
||||
"integration.shell.test_arguments",
|
||||
"integration.shell.test_matcher",
|
||||
"integration.shell.test_master_tops",
|
||||
"integration.shell.test_saltcli",
|
||||
"integration.shell.test_master",
|
||||
"integration.shell.test_key",
|
||||
"integration.shell.test_runner",
|
||||
"integration.shell.test_cloud",
|
||||
"integration.shell.test_cp",
|
||||
"integration.shell.test_enabled",
|
||||
"integration.shell.test_key",
|
||||
"integration.shell.test_master",
|
||||
"integration.shell.test_master_tops",
|
||||
"integration.shell.test_matcher",
|
||||
"integration.shell.test_minion",
|
||||
"integration.shell.test_proxy",
|
||||
"integration.shell.test_runner",
|
||||
"integration.shell.test_saltcli",
|
||||
"integration.shell.test_spm",
|
||||
"integration.shell.test_syndic",
|
||||
"integration.spm.test_build",
|
||||
"integration.spm.test_files",
|
||||
"integration.spm.test_info",
|
||||
|
@ -206,10 +184,10 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
"integration.ssh.test_master",
|
||||
"integration.ssh.test_mine",
|
||||
"integration.ssh.test_pillar",
|
||||
"integration.ssh.test_pre_flight",
|
||||
"integration.ssh.test_raw",
|
||||
"integration.ssh.test_saltcheck",
|
||||
"integration.ssh.test_state",
|
||||
"integration.ssh.test_pre_flight",
|
||||
"integration.states.test_compiler",
|
||||
"integration.states.test_handle_error",
|
||||
"integration.states.test_handle_iorder",
|
||||
|
@ -217,6 +195,27 @@ class BadTestModuleNamesTestCase(TestCase):
|
|||
"integration.states.test_renderers",
|
||||
"integration.wheel.test_client",
|
||||
"multimaster.minion.test_event",
|
||||
"unit.cache.test_cache",
|
||||
"unit.serializers.test_serializers",
|
||||
"unit.setup.test_install",
|
||||
"unit.setup.test_man",
|
||||
"unit.states.test_postgres",
|
||||
"unit.test_doc",
|
||||
"unit.test_mock",
|
||||
"unit.test_module_names",
|
||||
"unit.test_proxy_minion",
|
||||
"unit.test_pytest_pass_fail",
|
||||
"unit.test_simple",
|
||||
"unit.test_virtualname",
|
||||
"unit.test_zypp_plugins",
|
||||
"unit.utils.scheduler.test_error",
|
||||
"unit.utils.scheduler.test_eval",
|
||||
"unit.utils.scheduler.test_helpers",
|
||||
"unit.utils.scheduler.test_maxrunning",
|
||||
"unit.utils.scheduler.test_postpone",
|
||||
"unit.utils.scheduler.test_run_job",
|
||||
"unit.utils.scheduler.test_schedule",
|
||||
"unit.utils.scheduler.test_skip",
|
||||
)
|
||||
errors = []
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue