Daniel A. Wozniak
ee33df82eb
Multiple test fixes
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
faecc6d48c
Unit test fix and artifact name correction
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
818dd9f827
Fix yamldumper test
2024-09-23 01:31:53 -07:00
Tom Doherty
caf62f97bd
fix yaml output
...
In b9be2de
, OrderedDict was replaced with HashableOrderedDict.
Add logic to yamldumper to handle the new type.
2024-09-20 14:08:12 -07:00
Tyler Levy Conde
eb723cdc7e
Simplify tests to just use venv
2024-07-04 21:51:32 -07:00
Tyler Levy Conde
bb26d8c97c
replace pyvenv with builtin venv
2024-07-04 21:51:32 -07:00
Daniel A. Wozniak
1e2e79db75
Use FullArgSpec as ArgSpec is deprecated
2024-06-24 09:37:18 -07:00
Daniel A. Wozniak
7b3a89c821
Fix tests undef fips
2024-06-18 22:12:20 -07:00
David Murphy
40d5a253fe
Initial port from unittest to pytest of unit/utils/test_gitfs.py to test_gitfs_locks.py
2024-06-03 12:24:11 -07:00
Pedro Algarvio
e8e0131d74
No namespaced test packages
2024-05-09 16:39:56 +01:00
Shane Lee
0c05af434a
Make the underscore directory standard
2024-04-10 17:03:06 +01:00
Shane Lee
e5d1e4db9d
Keep directory structure the same on Master and Masterless
...
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-10 17:03:06 +01:00
Pedro Algarvio
36e23f87ab
Revert "Keep directory structure the same on Master and Masterless"
...
This reverts commit e7b735cdac
.
2024-04-05 17:08:28 +01:00
Shane Lee
e7b735cdac
Keep directory structure the same on Master and Masterless
...
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-04 14:13:12 -07:00
Pedro Algarvio
c402aab17c
Bump the timeout for the pyobjects unit tests
2024-03-09 22:26:17 +00:00
Pedro Algarvio
03ad4c6337
Update code to be Py3.7+ to reduce merge forward conflicts
2024-02-29 10:16:58 +00:00
Pedro Algarvio
3dea2eb541
Update pre-commit hook versions
2024-02-29 10:16:58 +00:00
Pedro Algarvio
0d6d4cfb36
Remove all kitchen and jenkins related resources
...
The salt-project hasn't been using them for a very long time.
2024-02-29 10:16:58 +00:00
Daniel A. Wozniak
874626e5d7
Migrate pillar unit tests to pytest
2024-02-28 16:49:31 -07:00
Pedro Algarvio
5840ab68a5
We depend on `msgpack >= 1.0
`, simplify logic
2024-02-27 08:07:04 +00:00
Pedro Algarvio
b9be2dec1b
Update and remove obsolete pylint plugins
2024-02-27 08:07:04 +00:00
Pedro Algarvio
17dddc83ba
Increase timeouts on problematic tests
2024-02-15 15:25:35 -07:00
Erik Johnson
f25bbaf744
Move tests to pytests dir and reformat them
2024-02-09 16:11:27 +00:00
Erik Johnson
61f8425d24
_get_defaults can be a staticmethod
2024-02-09 16:11:27 +00:00
Erik Johnson
5e6d23138b
Rename test
2024-02-09 16:11:27 +00:00
Erik Johnson
adb9397bd6
Don't needlessly refresh fileserver backends during Pillar rendering
...
This uses the opts key that masterless runs use to limit fileserver
backend refreshes to a single refresh. Adding it to the master opts
ensures that FSChan instances created on the master do not trigger
fileserver backend refreshes.
2024-02-09 16:11:27 +00:00
Pedro Algarvio
5f63d785e9
Switch to a custom timeout_unless_on_windows
marker
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
67a0e99bff
Increase timeout on some slower tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
022f73aa7c
Migrate tests/unit/states/test_pip_state.py::PipStateInstallationErrorTest::test_importable_installation_error
to pytest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
c1d2c0833b
Merge 3005.x into 3006.x
2024-01-31 18:19:51 +00:00
Daniel A. Wozniak
e0cdb80b55
CVE fix
2024-01-24 14:37:58 -07:00
Shane Lee
51adf9e0b2
Migrate ini_manage tests from unittests
2024-01-23 14:11:22 -07:00
Pedro Algarvio
6d5958d9e5
Migrate some crypt tests to pytest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-18 16:05:39 +00:00
Pedro Algarvio
cc263cc440
Migrate some crypt tests to pytest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-16 09:23:16 +00:00
Frode Gundersen
4522bb2aba
migrate test_tomcat to pytest
2023-12-16 01:30:53 -07:00
Frode Gundersen
0e282e651e
migrate unit_states_test_grains to pytest
2023-12-16 01:30:01 -07:00
Frode Gundersen
12e02d6578
migrate unit_states_test_glusterfs to pytest
2023-12-12 15:45:05 -07:00
Frode Gundersen
e4790c58ad
migrate unit_states_test_gem to pytest
2023-12-12 15:44:28 -07:00
Frode Gundersen
e068b41e04
migrate test_dig to pytest
2023-12-12 15:43:38 -07:00
Frode Gundersen
4f2981f819
migrate test_glusterfs to pytest
2023-12-12 15:42:55 -07:00
Frode Gundersen
1426e9973e
migrate test_dpkg_lowpkg to pytest
2023-12-12 15:42:18 -07:00
Frode Gundersen
8cc982aea8
migrate test_dnsutil to pytest
2023-12-12 15:41:43 -07:00
Frode Gundersen
1990fe79bb
migrate test_debian_ip to pytest
2023-12-12 15:40:52 -07:00
Frode Gundersen
bbeef80975
migrate test_redismod to pytest
2023-12-12 15:40:13 -07:00
Frode Gundersen
51b5decd3b
migrate test_serverdensity_device to pytest
2023-12-12 15:37:13 -07:00
Frode Gundersen
2976b1298d
migrate test_servicenow to pytest
2023-12-12 15:36:35 -07:00
Frode Gundersen
6972111bc7
migrate test_smtp to pytest
2023-12-12 15:35:53 -07:00
Frode Gundersen
9a7efbbc00
migrate test_uwsgi to pytest
2023-12-12 15:35:12 -07:00
Frode Gundersen
b1b7868d99
migrate test_xfs to pytest
2023-12-12 15:34:21 -07:00
Frode Gundersen
f91126f42d
migrate test_syslog_ng to pytest
2023-12-12 15:33:30 -07:00