Daniel A. Wozniak
2710c0668d
Merge remote-tracking branch 'saltstack/3006.x' into merge-forward
2023-12-16 15:35:16 -07:00
Michael Calmer
4d26ff49d0
lint and precommit fixes
2023-12-16 04:49:17 -07:00
Michael Calmer
e28e721bf6
fix zypperpkg test after adding more success return codes
2023-12-16 04:49:17 -07:00
Michael Calmer
4e22d1fc11
call refresh_db function from mod_repo
2023-12-16 04:49:17 -07:00
Michael Calmer
cb8d6e80f8
add support for gpgautoimport to refresh_db in the zypperpkg module
2023-12-16 04:49:17 -07:00
Megan Wilhite
0d457c8b36
fix pre-commit
2023-12-16 04:31:08 -07:00
Michael Calmer
6f9105c752
adapt old tests to changed function
2023-12-16 04:31:08 -07:00
Frode Gundersen
a3ed549fd1
migrate test_tomcat to pytest
2023-12-16 01:30:53 -07:00
Frode Gundersen
2e0019870f
migrate unit_states_test_grains to pytest
2023-12-16 01:30:01 -07:00
Pedro Algarvio
63c0b43e31
Run pyupgrade
against the files modified in the merge-forward
2023-11-26 16:24:07 +00:00
Pedro Algarvio
e7bfe4bd4f
Merge 3006.x into master
2023-11-26 16:10:40 +00:00
Sander Cornelissen
14226043b7
Fix pylint issues in unit test for pip state
...
(cherry picked from commit a686ce00b2
)
2023-11-22 08:52:34 +00:00
Sander Cornelissen
96737501a9
Add test for fix when user does not exists on pip
...
(cherry picked from commit f36b821e1a
)
2023-11-22 08:52:34 +00:00
Sander Cornelissen
c8cf857422
Fix pylint issues in unit test for pip state
2023-11-20 07:16:55 +00:00
Sander Cornelissen
3bdd5b4002
Add test for fix when user does not exists on pip
2023-11-20 07:16:55 +00:00
Pedro Algarvio
caff56cb78
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
8a314c8546
Run pyupgrade
against the changes from the merge-forward
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-27 08:34:36 +01:00
Pedro Algarvio
67aa5a3e90
Merge 3006.x into master
2023-10-26 17:17:53 +01:00
twangboy
03f526dfaa
Fix lint
2023-10-24 14:59:53 -07:00
Pedro Algarvio
8b21189741
Fix mock calls
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
MKLeb
736af2d97c
Merge remote-tracking branch 'upstream/3006.x' into mf/master/3006.x
2023-09-08 16:25:39 -04:00
cmcmarrow
779caa628c
update some unit tests
2023-09-05 22:01:02 -07:00
Cian Yong Leow
211ae84753
Fix Flaky LazyLoaderRefreshFileMappingTest
...
Move creation of the lock to a private method to isolate mocking behaviour from main threading library.
2023-08-25 13:12:09 +00:00
Pedro Algarvio
367e81a458
Merge 3006.x into master
2023-08-15 22:29:25 +01:00
MKLeb
14733b86bb
Merge tag 'v3006.2' into mf/3006.2/3006.x
...
Release v3006.2
2023-08-10 19:39:38 -04:00
cmcmarrow
de6c688c2e
run pre
2023-08-03 17:06:21 +00:00
cmcmarrow
4e622d0ba6
stop branch collision
2023-08-03 17:06:21 +00:00
cmcmarrow
2f7d33beaf
wrap sha in base64
2023-08-03 17:06:21 +00:00
cmcmarrow
066449eeee
Fixed gitfs cachedir_basename to avoid hash collisions
2023-08-03 17:06:21 +00:00
Pedro Algarvio
4d318946a0
Skip tests/unit/{modules,states}/test_zcbuildout.py
on windows.
...
It needs special work on the golden images to get SSL to properly work.
These steps are required because the code being tested is using
`easy_install` which does not know how to get certificates from `certifi`.
Since `easy_install` is too old, and deprecated, the extra work is not
worth it, plus, they are still being tested on other platforms.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-19 08:49:10 +01:00
Pedro Algarvio
d0a8e3fade
Stop using the deprecated imp
module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
3eb13c6e8c
Stop using the deprecated imp
module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
0889ce79f5
Switch to FullArgSpec
since Py 3.11 no longer has ArgSpec
, deprecated since Py 3.0
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
9d72e7a677
Fix mock calls
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
70ec4ece2f
Address lint issue
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
6861feaef5
Revert "More recent versions of immutables
require typing_extensions
"
...
This reverts commit c9a6100a4f503e2640d8baf394aabae49c40b054.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
fb04011a0f
Bump to pyvmomi==8.0.1.0.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Pedro Algarvio
df997daeba
More recent versions of immutables
require typing_extensions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Daniel A. Wozniak
ab4c8d8b5a
Remove vendored tornado
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
af5f24c181
Add tornado to docs check pre-commit
2023-05-23 14:41:30 -07:00
Jenkins
e3923c17e0
Unit test fixes
2023-05-23 14:41:30 -07:00
Jenkins
2ff49e7915
Test fix
2023-05-23 14:41:30 -07:00
Pedro Algarvio
465722523e
Skip tests/unit/{modules,states}/test_zcbuildout.py
on windows.
...
It needs special work on the golden images to get SSL to properly work.
These steps are required because the code being tested is using
`easy_install` which does not know how to get certificates from `certifi`.
Since `easy_install` is too old, and deprecated, the extra work is not
worth it, plus, they are still being tested on other platforms.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 13:33:30 +01:00
Pedro Algarvio
7d068daec5
Skip tests/unit/{modules,states}/test_zcbuildout.py
on windows.
...
It needs special work on the golden images to get SSL to properly work.
These steps are required because the code being tested is using
`easy_install` which does not know how to get certificates from `certifi`.
Since `easy_install` is too old, and deprecated, the extra work is not
worth it, plus, they are still being tested on other platforms.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
ffd5010c4a
Add a few more nice to have hooks
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-07 07:10:13 +00:00
Pedro Algarvio
3473de8eac
Skip initial relenv onedir known failures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-21 07:51:50 +00:00
Pedro Algarvio
71e55498f5
Fix version checks
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-10 07:11:06 -07:00
Pedro Algarvio
2c1892feff
Use packaging
for version parsing. looseversion
when needed only.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-09 12:31:51 -07:00
Pedro Algarvio
7a59a8fd67
Fix expected test result when running under Jenkins
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-12-20 11:56:51 +00:00
Pedro Algarvio
2d5cefdb53
Skip known macOS initial GH Actions failures
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-12-14 11:23:26 -07:00