Barney Sowood
955529f1c0
Update test_gem to set gem_binary to "gem.cmd
...
Updates tests/integration/modules/test_gem.py to pass
gem_binary="gem.cmd" to the gem module on windows. Although just using
"gem" on the commandline works, from the module, via cmd.run_all it
doesn't.
2025-01-20 02:37:15 -07:00
Barney Sowood
5fe28f00f9
Skip cmd.script tests on windows
...
Skips cmd.script tests on windows. These are using a python script
that relies on the shebang in the script to work on Unix like OSes. That
won't work on Windows.
2025-01-17 16:14:28 -07:00
Barney Sowood
9a327c5919
Convert test_custom grains test to pytest
...
Converts the test_custom grains test from an old style test to a pytest
test. This is just to make it easier for me to debug why it is failing
and needs to be done at some point anyway.
2025-01-17 15:00:54 -07:00
Twangboy
30e2d9aaf4
Use os.linesep instead of \n
2025-01-16 15:20:27 -07:00
Barney Sowood
19b0db156f
Make systemctl/hostctl check functions check they're on linux
2025-01-12 22:35:40 -07:00
Daniel A. Wozniak
277b24e4a1
Show free memory and test fix
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
ee33df82eb
Multiple test fixes
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
718654ae21
Fix timezone and locale tests on photon
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
78e06fdb42
test fix
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
6f7b448591
Fix pkg tests on debian containers
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
d9bfbee860
Fix runas test by adding cwd
2025-01-11 15:25:01 -07:00
twangboy
79d4ff772a
Change repo.saltproject.io to new url
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
58f448405b
Use broadcom.com instead of repo.saltproject.io for test_cp
2025-01-11 15:25:01 -07:00
Niklas Rousset
eba0b174d7
Add test cases for stdin_raw_newlines functionality
2024-09-18 14:53:40 -07:00
Daniel A. Wozniak
671cdd9313
Migrate grains tests to pytest
2024-08-17 14:35:02 -07:00
Shane Lee
580ad437fd
Fix some tests
2024-05-14 21:15:16 +01:00
Pedro Algarvio
85ea23dd62
Skip problematic tests due to system python being too recent
2024-05-13 18:31:50 +01:00
ScriptAutomate
457dfa6f23
Add Fedora 40 and Ubuntu 24.04 support
2024-05-13 18:31:50 +01:00
ScriptAutomate
42dd9fea5d
Replace AlmaLinux with Rocky Linux
2024-04-02 14:13:03 +01: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
e9122b1d7c
Skip salt-ssh related tests on Fedora 39
...
The problem is that the tornado we ship is not prepared for Python 3.12,
and it imports `ssl` and checks if the `match_hostname` function is defined, which
has been deprecated since Python 3.7, so, the logic goes into trying to import
backports.ssl-match-hostname which is not installed on the system.
2024-02-28 11:24:14 +00:00
Pedro Algarvio
b9be2dec1b
Update and remove obsolete pylint plugins
2024-02-27 08:07:04 +00:00
Pedro Algarvio
1ad68fcd93
Increase timeouts on problematic tests and default to func_only=True
2024-02-16 14:03:50 -07:00
Pedro Algarvio
68c6fd4fba
Increase timeouts on problematic tests
2024-02-14 14:22:06 -07:00
Pedro Algarvio
0878b59797
Increase timeouts on problematic tests
2024-02-14 01:00:35 -07:00
Pedro Algarvio
beb2c6d7b4
Some more test timeout updates
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +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
Gareth J. Greenaway
6e91ace546
migrating mac module integration tests to pytest.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
1c869daf6d
fixes for MacOS X 13
...
(cherry picked from commit 6640b05216
)
2023-11-28 04:04:05 +00:00
Gareth J. Greenaway
737cb6cbfb
Migrate tests/pytests/functional/modules/test_mac_system.py
to functional tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
MKLeb
4c7f477d80
Migrate tests/integration/modules/test_jinja.py
to pytest
2023-11-21 12:28:20 +00:00
MKLeb
55b1ff7b64
Migrate tests/integration/renderers/test_jinja.py
to pytest
2023-11-21 12:28:20 +00:00
Pedro Algarvio
066afb90f0
Skip tests which can't run, or even pass on FIPS enabled platforms
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
3ed6e05262
Don't use hashlib.md5
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
16dce0b4cc
Merge v3006.4 into 3006.x
2023-10-29 09:24:34 +00:00
Pedro Algarvio
bb86351eca
Fix variable name
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
MKLeb
00d7e2c35d
Migrate tests/integration/modules/test_pip.py
to pytest
2023-10-18 15:57:09 +01:00
Pedro Algarvio
7f230f5e80
De-whitelist, again, since it's hanging on the newer windows golden images
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-06 20:09:46 +01:00
Pedro Algarvio
dfd5194dd0
De-whitelist, again, since it's hanging on the newer windows golden images
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Megan Wilhite
286d55eb5a
Add pytest integration pre_flight integration tests for CVE-2023-34049
2023-10-02 08:51:06 +01:00
Pedro Algarvio
be09ff0c92
Continue using the old Windows AMIs
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
6dfec54dfe
Temporarily de-whitelist on windows. These tests hang with the new golden images.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
221ee3a26d
Test requires root permissions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00
Gareth J. Greenaway
5266ffda0a
fixing publish tests to fix failures related to __kwarg__ changes when validating args and kwargs.
2023-09-17 13:02:09 +01:00
Megan Wilhite
fb41af8032
Ensure runners properly save information to job cache
2023-08-24 09:55:29 +01:00
Pedro Algarvio
b43c1d9168
Remove vim config comments
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-23 16:28:52 +00:00
David Murphy
ec5b05cb86
Migrate nacl unittests to pytests, and update for PyNaCl
2023-07-28 18:24:59 +01:00
MKLeb
cb4f1be42e
Migrate the service module integration tests to pytest
2023-07-20 15:16:09 +01:00