Pedro Algarvio
8331264fdb
Stop using the deprecated imp
module
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
3f78a510c0
Add __getstate__
to blacklisted methods, present in Py 3.11
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
7d57774710
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
3506e7fd0e
Fix mock calls
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
3c415b222f
Address lint issue
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 14:33:46 +01:00
Pedro Algarvio
4886b6de2d
Merge 3006.x into master
2023-06-11 10:01:52 +01:00
Pedro Algarvio
85e4687c4a
Revert "More recent versions of immutables
require typing_extensions
"
...
This reverts commit c9a6100a4f503e2640d8baf394aabae49c40b054.
2023-06-07 22:28:15 +01:00
Pedro Algarvio
1851456b3f
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
723e7a66c7
More recent versions of immutables
require typing_extensions
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-07 22:28:15 +01:00
Frode Gundersen
a226526210
migrate unit_states_test_jboss7 to pytest
2023-06-06 19:44:35 +00:00
Frode Gundersen
a5a26b8066
migrate unit_states_test_kubernetes to pytest
2023-06-06 19:43:32 +00:00
Twangboy
7c6d550123
Add tests
2023-06-06 18:48:58 +00:00
natalieswork
18cd662eb6
Merge branch 'master' into remove-azure
2023-05-31 11:02:44 -04:00
Pedro Algarvio
3f92d3f934
Migrate tests/unit/utils/test_templates.py
to pytest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-31 14:39:59 +00:00
Pedro Algarvio
e93c86ccf3
Migrate tests/unit/test_template.py
to pytest
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-31 14:39:59 +00:00
Pedro Algarvio
c10eb79954
Merge 3006.x into master
...
Conflicts:
* changelog/64226.fixed.md
* tests/pytests/unit/states/test_pip.py
2023-05-30 12:59:16 +01:00
MKLeb
44dc5921d5
move utils/win_network.py tests to pytest
2023-05-29 18:07:33 +01:00
Nicholas Hughes
03a4ed63b8
Merge branch 'master' into remove-azure
2023-05-25 12:32:33 -04:00
Daniel A. Wozniak
4baea1a97b
Remove vendored tornado
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
ade9da2703
Fix up pre-commit and lint
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
e237d5525e
Fix test on windows
2023-05-23 14:41:30 -07:00
Daniel A. Wozniak
574e6cd2c2
Add tornado to docs check pre-commit
2023-05-23 14:41:30 -07:00
Jenkins
97a77adc32
Swap for new ioloop for now
2023-05-23 14:41:30 -07:00
Jenkins
5c8550de75
Unit test fixes
2023-05-23 14:41:30 -07:00
Jenkins
4c4d017ddb
Test fix
2023-05-23 14:41:30 -07:00
Nicholas Hughes
a34d42b276
Merge branch 'master' into remove-azure
2023-05-23 11:04:16 -04:00
Pedro Algarvio
19025ad568
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
80ff2f662d
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
Frode Gundersen
33e2538aa8
migrate unit_states_test_linux_acl to pytest
2023-05-22 19:56:16 +00:00
natalieswork
15849a5911
removing azure code from repo
2023-05-22 14:21:25 -04:00
pjcreath
7fc547faff
Move the mac_user._kcpassword unit test into the pytests directory.
...
Also fix a typo in the pytests README.
2023-05-15 20:46:34 +00:00
pjcreath
402aa367ed
Fix the password hashing function of mac_user.enable_auto_login
...
Fixes #64226
2023-05-15 20:46:34 +00:00
Frode Gundersen
99261e77a5
migrate unit_states_test_linux_acl to pytest
2023-05-09 20:09:15 +00:00
Twangboy
88f223e1ca
Fix test_reg, migrate to pytests
2023-05-03 20:51:28 -07:00
Daniel A. Wozniak
892fbad749
Update test to work with new config option
2023-04-13 12:30:40 +01:00
Frode Gundersen
942ffed12f
migrate unit_modules_test_win_ip to pytest
2023-04-10 19:52:46 -07:00
Frode Gundersen
6b9c0e7b74
migrate unit_modules_test_boto_dynamodb to pytest
2023-04-10 19:51:32 -07:00
Frode Gundersen
56fd3801df
migrate unit_modules_test_win_pki to pytest
2023-04-10 19:50:09 -07:00
Frode Gundersen
19dd3825c6
migrate unit_modules_test_win_snmp to pytest
2023-04-10 19:46:41 -07:00
Frode Gundersen
70922d72db
migrate test_hashutil to pytest
2023-04-04 18:56:22 +01:00
Frode Gundersen
5aa89c01e9
migrate test_drbd to pytest
2023-04-04 18:50:17 +01:00
Frode Gundersen
9864347cac
migrate unit_states_test_helm to pytest
2023-04-04 18:44:10 +01:00
Frode Gundersen
56cb0860ef
migrate unit_states_test_hg to pytest
2023-04-04 18:43:13 +01:00
Frode Gundersen
de536eeb84
migrate unit_states_test_ini_manage to pytest
2023-04-04 18:37:10 +01:00
Frode Gundersen
f7c2f356db
migrate unit_states_test_ipmi to pytest
2023-04-04 18:34:58 +01:00
Frode Gundersen
72e4c2b5f9
migrate unit_states_test_kapacitor to pytest
2023-04-04 18:30:38 +01:00
Frode Gundersen
2da936c9b4
migrate unit_states_test_keystone to pytest
2023-04-04 18:29:36 +01:00
Frode Gundersen
4732b9b61c
migrate unit_states_test_kernelpkg to pytest
2023-04-04 08:57:12 +01:00
Frode Gundersen
6d9eeedb30
migrate unit_states_test_keystore to pytest
2023-04-04 08:56:03 +01:00
Frode Gundersen
8ae014461c
migrate unit_states_test_net_napalm_yang to pytest
2023-04-04 08:50:15 +01:00