Commit graph

23291 commits

Author SHA1 Message Date
Twangboy
6bc8fe8111 Fix some lint and pre-commit 2023-04-01 09:30:03 +01:00
Twangboy
7978b9117d Return Not Found when service is missing 2023-04-01 09:30:03 +01:00
Twangboy
b8e6fcbeea Fix failing test 2023-03-30 20:00:55 +01:00
Twangboy
2418a8504f Use relenv OpenSSL 2023-03-30 20:00:55 +01:00
Gareth J. Greenaway
e95c9f9005
Merge pull request #63990 from twangboy/fix_63981
[3006.x] Fix 63981 - Support verify_ssl in pkg.install
2023-03-28 21:19:10 -07:00
Gareth J. Greenaway
7e54d714cb
Merge pull request #63970 from garethgreenaway/63948_file_state_check_cmd_fixes
[3006.x] Fixes to state check_cmd
2023-03-28 15:57:57 -07:00
Twangboy
a20ca9b602
Add test 2023-03-28 14:51:17 -06:00
Twangboy
f04483c42e
Skip test on non-windows systems 2023-03-28 09:53:11 -06:00
Twangboy
2382af85f5
Remove old test 2023-03-28 09:53:11 -06:00
Twangboy
0e642e1e05
Fix issue with delete_after 2023-03-28 09:53:10 -06:00
Gareth J. Greenaway
04741e1881
Merge pull request #63949 from twangboy/fix_win_pkg
Fix issues with win_pkg.py
2023-03-27 18:19:05 -07:00
Gareth J. Greenaway
01e7fb19ca
Actually add the changes. 2023-03-27 14:42:19 -07:00
Gareth J. Greenaway
c8f79910de
Merge pull request #63938 from MKLeb/auto-test/windows-reauth
Auto reauth test
2023-03-27 14:33:29 -07:00
MKLeb
e04a1b8450
switch back to threading 2023-03-27 15:09:59 -04:00
Twangboy
932d890b72
Fix pre-commit 2023-03-27 12:17:02 -06:00
Twangboy
fdc122d7c0
Add tests for using LooseVersion 2023-03-27 12:17:01 -06:00
Twangboy
ebac4a8522
Use LooseVersion instead of Version 2023-03-27 12:17:00 -06:00
Gareth J. Greenaway
713e4fc6c4 Ensure kwargs is passed along to _call_apt when passed into install function. 2023-03-27 18:07:38 +00:00
Pedro Algarvio
93f06bbb2a Remaining test fixes regarding the recent GitHub RSA key change
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-27 18:01:10 +00:00
MKLeb
666003d3c7
make the target function not nested for windows 2023-03-27 13:26:57 -04:00
Gareth J. Greenaway
ddac7de21a Updating keys in known hosts file. 2023-03-25 11:24:49 +00:00
Gareth J. Greenaway
46f96a642e Updating the github.com fingerprint. 2023-03-25 11:24:49 +00:00
Gareth J. Greenaway
63c6bea28a Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org. 2023-03-25 09:37:27 +00:00
MKLeb
265670a556
use multiprocessing and wait for the minion to actually connect 2023-03-24 20:09:06 -04:00
MKLeb
b34465f084
cast the environment variable to an int 2023-03-24 12:09:59 -04:00
MKLeb
7c1aa93e4d
Add reauth test 2023-03-23 15:48:28 -04:00
Thomas Phipps
bd25173cd2 fix 63724 2023-03-22 23:37:59 +00:00
Frode Gundersen
f427a252b5 migrate test_swift to pytest 2023-03-22 19:47:21 +00:00
Frode Gundersen
a95cb8ca86 migrate test_haproxyconn to pytest 2023-03-22 18:36:23 +00:00
Frode Gundersen
cc669ee27f migrate test_config to pytest 2023-03-22 18:30:38 +00:00
Gareth J. Greenaway
0bec34ff05 Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. 2023-03-22 18:25:32 +00:00
Pedro Algarvio
e9ce7a60a5 Switch pytest.deprecated_call to pytest.warns.
Skip serial check for `tests/pytests/functional/states/test_x509_v2.py::test_certificate_managed_chain_change[existing_cert_chain1]`

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Twangboy
eeac74785b Paramatrized tests, added more tests, convert str to bytes 2023-03-21 23:00:38 +00:00
Twangboy
0b89e917de Remove windows whitelist 2023-03-21 23:00:38 +00:00
Twangboy
7aba250138 Handle CRLF when generating fingerprint 2023-03-21 23:00:38 +00:00
cmcmarrow
36e150861c rebase 2023-03-21 21:42:08 +00:00
Frode Gundersen
bfab76ee2a migrate unit_states_test_netconfig to pytest 2023-03-20 14:06:31 +00:00
Frode Gundersen
ff45cc0da7 migrate unit_states_test_network to pytest 2023-03-20 14:05:40 +00:00
Pedro Algarvio
26acc39662 Migrate tests/unit/modules/test_linux_shadow.py to pytest
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-20 14:01:56 +00:00
Pedro Algarvio
1e236ead1a Revert "Migrate tests/unit/modules/test_linux_shadow.py to pytest"
This reverts commit 933748c652.
2023-03-17 08:30:33 +00:00
Pedro Algarvio
933748c652 Migrate tests/unit/modules/test_linux_shadow.py to pytest
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-17 01:15:33 +00:00
Dafydd Jones
b490f7e926 test: debug logging for win_pkg.remove 2023-03-16 21:14:29 +00:00
Frode Gundersen
7d8a9dd19b fix asserts 2023-03-16 12:51:27 +00:00
Frode Gundersen
cf1d4099dd migrate test_uptime to pytest 2023-03-16 12:51:27 +00:00
Frode Gundersen
3bf209af7b migrate test_vault to pytest 2023-03-16 12:50:28 +00:00
Frode Gundersen
6ecec34057 migrate test_vault to pytest 2023-03-16 12:50:28 +00:00
Frode Gundersen
97121b2e27 remove blank lines 2023-03-16 12:49:29 +00:00
Frode Gundersen
75686f3296 migrate test_xapi_virt to pytest 2023-03-16 12:49:29 +00:00
Frode Gundersen
48a37496e4 use tmp_path and fix fixture name 2023-03-16 12:47:49 +00:00
Frode Gundersen
7ef6ef4206 migrate test_xml to pytest 2023-03-16 12:47:49 +00:00