salt/tests/filename_map.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

328 lines
11 KiB
YAML
Raw Normal View History

'*':
- pytests.unit.utils.test_versions
- unit.test_module_names
- unit.test_virtualname
- unit.utils.test_doc
2020-05-19 09:51:51 +01:00
setup.py:
2020-12-28 07:16:41 +00:00
- pytests.scenarios.setup.test_man
- pytests.scenarios.setup.test_install
2020-05-19 09:51:51 +01:00
salt/_logging/(impl|handlers).py:
- pytests.integration._logging.test_jid_logging
- pytests.integration._logging.test_multiple_processes_logging
- pytests.unit._logging.handlers.test_deferred_stream_handler
salt/modules/(apkpkg|aptpkg|ebuildpkg|dpkg_lowpkg|freebsdpkg|mac_brew_pkg|mac_ports_pkg|openbsdpkg|opkg|pacmanpkg|pkgin|pkgng|pkg_resource|rpm_lowpkg|solarisipspkg|solarispkg|win_pkg|xbpspkg|yumpkg|zypperpkg)\.py:
2021-02-19 16:13:28 +01:00
- pytests.unit.states.test_pkg
- pytests.functional.modules.test_pkg
- pytests.functional.modules.test_win_pkg
- pytests.functional.states.test_pkg
- pytests.functional.states.pkgrepo.test_centos
- pytests.functional.states.pkgrepo.test_debian
2018-05-07 14:02:04 -05:00
salt/modules/(mac_user|useradd|pw_user|solaris_user|win_useradd)\.py:
2021-03-05 20:52:01 +01:00
- pytests.unit.states.test_user
- pytests.functional.states.test_user
2018-05-07 14:02:04 -05:00
salt/modules/(aix_group|groupadd|mac_group|pw_group|solaris_group|win_groupadd)\.py:
- unit.states.test_group
salt/modules/(debian_service|freebsdservice|gentoo_service|launchctl_service|mac_service|netbsdservice|openbsdrcctl_service|openbsdservice|rh_service|runit|linux_service|smf_service|systemd_service|upstart_service|win_service)\.py:
2021-03-01 17:16:12 -08:00
- pytests.unit.states.test_service
- pytests.functional.modules.test_service
- pytests.functional.states.test_service
2018-05-07 14:02:04 -05:00
salt/modules/ansiblegate.py:
- pytests.unit.states.test_ansiblegate
- pytests.integration.states.test_ansiblegate
- pytests.functional.modules.test_ansiblegate
- pytests.unit.modules.test_ansiblegate
2018-05-07 14:02:04 -05:00
salt/modules/*apache.py:
- pytests.unit.states.apache.test_apache
- pytests.unit.states.apache.test_conf
- pytests.unit.states.apache.test_module
- pytests.unit.states.apache.test_site
2018-05-07 14:02:04 -05:00
salt/modules/cp.py:
- pytests.functional.modules.file.test_replace
- pytests.unit.modules.file.test_file_basics
- pytests.unit.modules.file.test_file_block_replace
- pytests.unit.modules.file.test_file_chattr
- pytests.unit.modules.file.test_file_comment_line
- pytests.unit.modules.file.test_file_grep
- pytests.unit.modules.file.test_file_line
- pytests.unit.modules.file.test_file_lsattr
- pytests.unit.modules.file.test_file_module
- pytests.unit.modules.file.test_file_selinux
- pytests.unit.states.file.test_copy
2018-05-07 14:02:04 -05:00
- integration.modules.test_file
- pytests.functional.states.file.test_copy
2018-05-07 14:02:04 -05:00
salt/modules/file.py:
- pytests.integration.states.test_cron
salt/(states|modules)/.*postgres.py:
- pytests.unit.states.postgresql.test_cluster
- pytests.unit.states.postgresql.test_database
- pytests.unit.states.postgresql.test_extension
- pytests.unit.states.postgresql.test_group
- pytests.unit.states.postgresql.test_initdb
- pytests.unit.states.postgresql.test_language
- pytests.unit.states.postgresql.test_privileges
- pytests.unit.states.postgresql.test_schema
- pytests.unit.states.postgresql.test_user
2018-05-07 14:02:04 -05:00
salt/modules/rabbitmq.py:
- pytests.unit.states.rabbitmq.test_cluster
- pytests.unit.states.rabbitmq.test_plugin
- pytests.unit.states.rabbitmq.test_policy
- pytests.unit.states.rabbitmq.test_vhost
2018-05-07 14:02:04 -05:00
- integration.states.test_rabbitmq_user
- integration.states.test_rabbitmq_vhost
salt/modules/ssh.py:
2021-02-24 08:25:50 +01:00
- pytests.unit.states.test_ssh_auth
- pytests.unit.states.test_ssh_known_hosts
2018-05-07 14:02:04 -05:00
salt/auth/*:
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_auth
salt/cache/*:
- pytests.unit.cache.test_cache
- pytests.unit.cache.test_memcache
- pytests.functional.cache.test_consul
- pytests.functional.cache.test_etcd
- pytests.functional.cache.test_localfs
- pytests.functional.cache.test_memcache
- pytests.functional.cache.test_mysql
- pytests.functional.cache.test_redis
salt/cli/*:
- integration.shell.test_arguments
salt/cli/call.py:
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_call
salt/cli/cp.py:
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_cp
salt/cli/key.py:
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_key
salt/cli/salt.py:
- integration.shell.test_enabled
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt
2020-12-04 05:50:08 +00:00
- pytests.integration.cli.test_matcher
salt/client/*:
- integration.client.test_kwarg
- integration.client.test_standard
- pytests.integration.client.test_runner
2018-05-10 14:55:49 -05:00
salt/cloud/*:
- pytests.functional.cli.test_salt_cloud
salt/cloud/__init__.py:
- pytests.functional.cli.test_salt_cloud
salt/engines/*:
- pytests.unit.engines.test_engines
salt/grains/*:
- pytests.integration.grains.test_custom
salt/matchers/*:
- integration.states.test_match
- pytests.integration.cli.test_matcher
- pytests.unit.modules.test_match
2022-09-20 19:12:22 -04:00
- pytests.unit.matchers.test_confirm_top
salt/proxy/*:
2020-09-14 15:29:13 +01:00
- pytests.integration.proxy.test_shell
- pytests.integration.proxy.test_simple
salt/state.py:
- pytests.functional.modules.state.test_jinja_filters
- integration.states.test_compiler
- integration.states.test_handle_error
- integration.states.test_handle_iorder
- integration.states.test_match
- integration.states.test_renderers
salt/utils/decorators/*:
- integration.modules.test_decorators
salt/(utils|renderers)/jinja\.py:
- pytests.functional.modules.state.test_jinja_filters
- integration.states.test_renderers
salt/utils/minions.py:
2020-12-04 05:50:08 +00:00
- pytests.integration.cli.test_matcher
salt/utils/reactor.py:
- pytests.integration.reactor.test_reactor
salt/cli/daemons.py:
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_master
- pytests.integration.cli.test_salt_minion
- pytests.integration.cli.test_salt_proxy
- pytests.integration.cli.test_salt_syndic
salt/(client/ssh/.+|cli/ssh\.py):
- integration.cli.test_custom_module
- pytests.integration.ssh.test_deploy
- pytests.integration.ssh.test_grains
- pytests.integration.ssh.test_mine
- pytests.integration.ssh.test_master
- pytests.integration.ssh.test_jinja_filters
2020-12-04 05:50:08 +00:00
- pytests.integration.ssh.test_pillar
- pytests.integration.ssh.test_raw
- integration.ssh.test_state
Merge Freeze into Master (#60074) * Merge 3002.6 bugfix changes (#59822) * Pass `CI_RUN` as an environment variable to the test run. This allows us to know if we're running the test suite under a CI environment or not and adapt/adjust if needed * Migrate `unit.setup` to PyTest * Backport ae36b15 just for test_install.py * Only skip tests on CI runs * Always store git sha in _version.py during installation * Fix PEP440 compliance. The wheel metadata version 1.2 states that the package version MUST be PEP440 compliant. This means that instead of `3002.2-511-g033c53eccb`, the salt version string should look like `3002.2+511.g033c53eccb`, a post release of `3002.2` ahead by 511 commits with the git sha `033c53eccb` * Fix and migrate `tests/unit/test_version.py` to PyTest * Skip test if `easy_install` is not available * We also need to be PEP440 compliant when there's no git history * Allow extra_filerefs as sanitized kwargs for SSH client * Fix regression on cmd.run when passing tuples as cmd Co-authored-by: Alexander Graul <agraul@suse.com> * Add unit tests to ensure cmd.run accepts tuples * Add unit test to check for extra_filerefs on SSH opts * Add changelog file * Fix comment for test case * Fix unit test to avoid failing on Windows * Skip failing test on windows * Fix test to work on Windows * Add all ssh kwargs to sanitize_kwargs method * Run pre-commit * Fix pylint * Fix cmdmod loglevel and module_names tests * Fix pre-commit * Skip ssh tests if binary does not exist * Use setup_loader for cmdmod test * Prevent argument injection in restartcheck * Add changelog for restartcheck fix * docs_3002.6 * Add back tests removed in merge Co-authored-by: Pedro Algarvio <pedro@algarvio.me> Co-authored-by: Megan Wilhite <megan.wilhite@gmail.com> Co-authored-by: Bryce Larson <brycel@vmware.com> Co-authored-by: Pablo Suárez Hernández <psuarezhernandez@suse.com> Co-authored-by: Alexander Graul <agraul@suse.com> Co-authored-by: Frode Gundersen <fgundersen@saltstack.com> * Remove glance state module in favor of glance_image * update wording in changelog * bump deprecation warning to Silicon. * Updating warnutil version to Phosphorous. * Update salt/modules/keystone.py Co-authored-by: Megan Wilhite <megan.wilhite@gmail.com> * Check $HOMEBREW_PREFIX when linking against libcrypto When loading `libcrypto`, Salt checks for a Homebrew installation of `openssl` at Homebrew's default prefix of `/usr/local`. However, on Apple Silicon Macs, Homebrew's default installation prefix is `/opt/homebrew`. On all platforms, the prefix is configurable. If Salt doesn't find one of those `libcrypto`s, it will fall back on the un-versioned `/usr/lib/libcrypto.dylib`, which will cause the following crash: Application Specific Information: /usr/lib/libcrypto.dylib abort() called Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. This commit checks $HOMEBREW_PREFIX instead of hard-coding `/usr/local`. * Add test case * Add changelog for 59808 * Add changelog entry * Make _find_libcrypto fail on Big Sur if it can't find a library Right now, if `_find_libcrypto` can't find any externally-managed versions of libcrypto, it will fall back on the pre-Catalina un-versioned system libcrypto. This does not exist on Big Sur and it would be better to raise an exception here rather than crashing later when trying to open it. * Update _find_libcrypto tests This commit simplifies the unit tests for _find_libcrypto by mocking out the host's filesystem and testing the common libcrypto installations (brew, ports, etc.) on Big Sur. It simplifies the tests for falling back on system versions of libcrypto on previous versions of macOS. * Fix description of test_find_libcrypto_with_system_before_catalina * Patch sys.platform for test_rsax931 tests * modules/match: add missing "minion_id" in Pillar example The documented Pillar example for `match.filter_by` lacks the `minion_id` parameter. Without it, the assignment won't work as expected. - fix documentation - add tests: - to prove the misbehavior of the documented example - to prove the proper behaviour when supplying `minion_id` - to ensure some misbehaviour observed with compound matchers doesn't occur * Fix for issue #59773 - When instantiating the loader grab values of grains and pillars if they are NamedLoaderContext instances. - The loader uses a copy of opts. - Impliment deepcopy on NamedLoaderContext instances. * Add changelog for #59773 * _get_initial_pillar function returns pillar * Fix linter issues * Clean up test * Bump deprecation release for neutron * Uncomment Sulfur release name * Removing the _ext_nodes deprecation warning and alias. * Adding changelog. * Renaming changelog file. * Update 59804.removed * Initial pass at fips_mode config option * Fix pre-commit * Fix tests and add changelog * update docs 3003 * update docs 3003 - newline * Fix warts in changelog * update releasenotes 3003 * add ubuntu-2004-amd64 m2crypto pycryptodome and tcp tests * add distro_arch * changing the cloud platforms file missed in 1a9b7be0e2f300d87924731dc5816fd1000cd22b * Update __utils__ calls to import utils in azure * Add changelog for 59744 * Fix azure unit tests and move to pytest * Use contextvars from site-packages for thin If a contextvars package exists one of the site-packages locations use it for the generated thin tarball. This overrides python's builtin contextvars and allows salt-ssh to work with python <=3.6 even when the master's python is >3.6 (Fixes #59942) * Add regression test for #59942 * Add changelog for #59942 * Update filemap to include test_py_versions * Fix broken thin tests * Always install the `contextvars` backport, even on Py3.7+ Without this change, salt-ssh cannot target systems with Python <= 3.6 * Use salt-factories to handle the container. Don't override default roster * Fix thin tests on windows * No need to use warn log level here * Fix getsitepackages for old virtualenv versions * Add explicit pyobjc reqs * Add back the passthrough stuff * Remove a line so pre-commit will run * Bugfix release docs * Bugfix release docs * Removing pip-compile log files * Fix failing test tests.unit.grains.test_core.CoreGrainsTestCase.test_xen_virtual * Fix pre-commit for docs.txt reqs Co-authored-by: Daniel Wozniak <dwozniak@saltstack.com> Co-authored-by: Pedro Algarvio <pedro@algarvio.me> Co-authored-by: Bryce Larson <brycel@vmware.com> Co-authored-by: Pablo Suárez Hernández <psuarezhernandez@suse.com> Co-authored-by: Alexander Graul <agraul@suse.com> Co-authored-by: Frode Gundersen <fgundersen@saltstack.com> Co-authored-by: Gareth J. Greenaway <gareth@saltstack.com> Co-authored-by: Gareth J. Greenaway <gareth@wiked.org> Co-authored-by: Hoa-Long Tam <hoalong@apple.com> Co-authored-by: krionbsd <krion@freebsd.org> Co-authored-by: Elias Probst <e.probst@ssc-services.de> Co-authored-by: Daniel A. Wozniak <dwozniak@vmware.com> Co-authored-by: Frode Gundersen <frogunder@gmail.com> Co-authored-by: twangboy <slee@saltstack.com> Co-authored-by: twangboy <leesh@vmware.com> Co-authored-by: ScriptAutomate <derek@icanteven.io>
2021-04-27 11:47:47 -04:00
- pytests.integration.ssh.test_py_versions
- pytests.integration.netapi.test_ssh_client
salt/client/ssh/wrapper/*:
- pytests.integration.ssh.test_deploy
- pytests.integration.ssh.test_grains
- pytests.integration.ssh.test_mine
- pytests.integration.ssh.test_master
- pytests.integration.ssh.test_jinja_filters
- pytests.integration.ssh.test_pillar
- pytests.integration.ssh.test_raw
- integration.ssh.test_state
- pytests.integration.ssh.test_py_versions
- pytests.integration.netapi.test_ssh_client
2018-05-10 14:55:49 -05:00
salt/config/*:
- unit.test_config
2022-03-24 16:04:37 -06:00
- pytests.unit.config.test__validate_opts
2018-05-10 14:55:49 -05:00
2021-07-20 13:24:44 -07:00
salt/loader/*:
- integration.loader.test_ext_modules
2024-08-08 15:26:44 -07:00
- pytests.integration.loader.test_ext_grains
- pytests.functional.loader.test_loader
- pytests.functional.loader.test_loaded_base_name
salt/minion.py:
- integration.client.test_syndic
- integration.minion.test_timeout
2020-12-04 05:50:08 +00:00
- pytests.integration.cli.test_matcher
- pytests.functional.pillar.test_top
- pytests.functional.pillar.test_gpg
- pytests.integration.modules.test_pillar
salt/modules/*_sysctl.py:
2021-03-06 10:37:41 +01:00
- pytests.unit.states.test_sysctl
- integration.modules.test_sysctl
salt/netapi/rest_cherrypy/*:
- pytests.functional.netapi.rest_cherrypy.test_auth
- pytests.functional.netapi.rest_cherrypy.test_auth_pam
- pytests.functional.netapi.rest_cherrypy.test_cors
- pytests.functional.netapi.rest_cherrypy.test_external_auth_syntax
- pytests.functional.netapi.rest_cherrypy.test_in_formats
- pytests.functional.netapi.rest_cherrypy.test_out_formats
- pytests.integration.netapi.rest_cherrypy.test_arg_kwarg
- pytests.integration.netapi.rest_cherrypy.test_auth
- pytests.integration.netapi.rest_cherrypy.test_jobs
- pytests.integration.netapi.rest_cherrypy.test_run
- pytests.integration.netapi.rest_cherrypy.test_webhook_disable_auth
- pytests.integration.netapi.test_client
- pytests.integration.netapi.test_ssh_client
salt/netapi/rest_tornado/*:
- integration.netapi.rest_tornado.test_app
- pytests.functional.netapi.rest_tornado.test_auth_handler
- pytests.functional.netapi.rest_tornado.test_base_api_handler
- pytests.functional.netapi.rest_tornado.test_event_listener
- pytests.functional.netapi.rest_tornado.test_external_auth_syntax
- pytests.functional.netapi.rest_tornado.test_utils
- pytests.functional.netapi.rest_tornado.test_webhooks_handler
- pytests.functional.netapi.rest_tornado.test_websockets_handler
- pytests.integration.netapi.rest_tornado.test_events_api_handler
- pytests.integration.netapi.rest_tornado.test_jobs_api_handler
- pytests.integration.netapi.rest_tornado.test_minions_api_handler
- pytests.integration.netapi.rest_tornado.test_root_handler
- pytests.integration.netapi.rest_tornado.test_run_api_handler
- pytests.integration.netapi.test_client
- pytests.integration.netapi.test_ssh_client
salt/output/*:
- integration.output.test_output
salt/pillar/__init__.py:
2020-12-04 05:50:08 +00:00
- pytests.integration.pillar.test_pillar_include
- pytests.functional.pillar.test_top
- pytests.functional.pillar.test_gpg
- pytests.integration.modules.test_pillar
salt/(cli/run\.py|runner\.py):
2020-09-14 15:29:13 +01:00
- pytests.integration.cli.test_salt_run
- integration.runners.test_runner_returns
2018-05-10 14:55:49 -05:00
salt/serializers/*:
2021-01-04 08:08:49 +00:00
- pytests.unit.serializers.test_serializers
2018-05-10 14:55:49 -05:00
salt/(cli/spm\.py|spm/.+):
- pytests.unit.spm.test_spm
- pytests.unit.spm.test_pkgfiles
- integration.shell.test_spm
- integration.spm.test_build
- integration.spm.test_files
- integration.spm.test_info
- integration.spm.test_install
- integration.spm.test_remove
- integration.spm.test_repo
2018-05-10 14:55:49 -05:00
salt/utils/schedule.py:
- pytests.unit.utils.scheduler.test_error
- pytests.unit.utils.scheduler.test_eval
- pytests.unit.utils.scheduler.test_postpone
- pytests.unit.utils.scheduler.test_skip
- pytests.unit.utils.scheduler.test_maxrunning
- pytests.unit.utils.scheduler.test_helpers
- pytests.unit.utils.scheduler.test_schedule
salt/utils/vt.py:
- integration.cli.test_custom_module
- pytests.integration.ssh.test_grains
- pytests.integration.ssh.test_mine
- pytests.integration.ssh.test_jinja_filters
2020-12-04 05:50:08 +00:00
- pytests.integration.ssh.test_pillar
- pytests.integration.ssh.test_raw
- integration.ssh.test_state
- pytests.integration.netapi.test_ssh_client
salt/wheel/*:
- pytests.integration.wheel.test_client
salt/(minion\.py|channel/.+|transport/.+):
- pytests.scenarios.multimaster.test_multimaster
- pytests.scenarios.multimaster.test_offline_master
- pytests.scenarios.multimaster.beacons.test_inotify
- pytests.scenarios.multimaster.modules.test_test
- pytests.scenarios.failover.multimaster.test_failover_master
tests/support/mock.py:
- unit.test_mock
tests/support/pytest/transport.py:
- pytests.functional.transport.ipc.test_pub_server_channel
- pytests.functional.transport.zeromq.test_pub_server_channel
tests/pytests/scenarios/multimaster:
- pytests.scenarios.multimaster.test_multimaster
- pytests.scenarios.multimaster.test_offline_master
- pytests.scenarios.multimaster.beacons.test_inotify
- pytests.scenarios.multimaster.modules.test_test
- pytests.scenarios.failover.multimaster.test_failover_master
tests/integration/files/ssh/.*:
- integration.modules.test_ssh
- integration.states.test_ssh_auth
- integration.states.test_ssh_known_hosts