Commit graph

118578 commits

Author SHA1 Message Date
Megan Wilhite
324a1519c1 Fix amazon linux 2023 64 bit tests and only run install package tests 2023-11-09 17:23:55 +00:00
ScriptAutomate
46f3e39332 Add Amazon Linux 2023; update Amazon Linux 2 AMI 2023-11-09 17:23:55 +00:00
twangboy
9b59adc16f Add comment to test 2023-11-09 17:08:31 +00:00
twangboy
c8e5547fa7 Add additional client assertion 2023-11-09 17:08:31 +00:00
twangboy
3b5dc02e70 Add some tests for client/__init__.py 2023-11-09 17:08:31 +00:00
David Murphy
9f8fc27cba Updated check version of Salt for the test 2023-11-09 17:03:03 +00:00
David Murphy
a75f0a9f41 Updated test per reviewer comments 2023-11-09 17:03:03 +00:00
David Murphy
57b02f4973 Updated tests per reviewer comments 2023-11-09 17:03:03 +00:00
David Murphy
3cee13afda Remove Photon OS from test 2023-11-09 17:03:03 +00:00
David Murphy
0ff32b01de Removed group membership check from the test 2023-11-09 17:03:03 +00:00
David Murphy
cd236c42d9 Limited test ownership to id and no longer change group on files 2023-11-09 17:03:03 +00:00
David Murphy
6d7c2f0dd1 Updated version check in test to prevent running on downgrade 2023-11-09 17:03:03 +00:00
David Murphy
7c4f68b774 Updated test to only run on RedHat family, Ubuntu/Debian has issue 65231 2023-11-09 17:03:03 +00:00
David Murphy
9b6e493db2 Added missing include for temp_directory 2023-11-09 17:03:03 +00:00
David Murphy
af8e35ebce Package test for log rotation and ownership / permissions 2023-11-09 17:03:03 +00:00
David Murphy
de84120e58 Initial log rotation test for ownership user and group 2023-11-09 17:03:03 +00:00
David Murphy
024eb3f10b Added changelog for issue 2023-11-09 17:03:03 +00:00
David Murphy
dd9a2bdfa9 Adjust ownership on log rotation 2023-11-09 17:03:03 +00:00
Shane Lee
8e9368263f Add test when config is missing main 2023-11-08 18:07:30 +00:00
twangboy
07bb453204 Fix test_get_yum_config 2023-11-08 18:07:30 +00:00
twangboy
5e50ccf31c Fix rsync on Windows using cwRsync 2023-11-08 18:07:30 +00:00
twangboy
bd469106f7 Remove decorator for yumpkg.download 2023-11-08 18:07:30 +00:00
twangboy
b2525aa042 Add tests for yumpkg 2023-11-08 18:07:30 +00:00
Shane Lee
b903999af4 Don't use parametrize on tests that should be skipped 2023-11-08 17:56:13 +00:00
twangboy
4a2aec777a Put __utils__ back in lgpo module 2023-11-08 17:56:13 +00:00
twangboy
5e8bb1f990 Increase coverage for win_lgpo 2023-11-08 17:56:13 +00:00
twangboy
638c7744fd Fix tests 2023-11-08 17:56:13 +00:00
twangboy
7cf72073d0 Put __utils__ back in lgpo module 2023-11-08 17:56:13 +00:00
twangboy
1f13ff59b3 Increase coverage for win_lgpo 2023-11-08 17:56:13 +00:00
Daniel A. Wozniak
5942fb296e Add changelog for 65400 fix 2023-11-07 13:04:53 -07:00
Daniel A. Wozniak
334c5bac25 Only process events that are job returns 2023-11-07 13:04:53 -07:00
Daniel A. Wozniak
4fc11cd53e Add regression test for issue 65400 2023-11-07 13:04:53 -07:00
David Murphy
850f0b1965 Moved pragma to line of function definition 2023-11-07 00:14:15 -07:00
David Murphy
652ea0e871 Added tests for ssh as part of code coverage increase 2023-11-07 00:14:15 -07:00
Gareth J. Greenaway
642a5bda69 Additional tests for http state. 2023-11-06 18:18:54 +00:00
David Murphy
168c92f20c Moved pragma no cover statement to the function definition to be excluded 2023-11-06 08:55:42 -08:00
David Murphy
f649068cad Removed use of mock_cp as per reviewer's comments 2023-11-06 08:55:42 -08:00
David Murphy
0d26d07ff5 Updated test per reviewer comments 2023-11-06 08:55:42 -08:00
David Murphy
a21c1bc8cf Added skip on Windows for junos test 2023-11-06 08:55:42 -08:00
David Murphy
be22292a55 Added pragma no cover for functions specific only to Juniper native minion 2023-11-06 08:55:42 -08:00
David Murphy
c9d18056e9 Initial port of unittest test_junos to pytest 2023-11-06 08:55:42 -08:00
Pedro Algarvio
49e5127eb5 Integration tests without splits now take longer then 7 hours. Split it again.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-05 10:46:22 +00:00
Pedro Algarvio
11783d6221 Bump to werkzeug==3.0.1 due to https://github.com/advisories/GHSA-hrfv-mqp8-q5rw
Does not upgrade for Py3.7 since this version of werkzeug does not support 3.7.
This also upgrades to `pytest-httpserver==1.0.8`

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
Pedro Algarvio
5e6fcf022b Backport https://github.com/saltstack/salt/pull/64323 (Just the requirements)
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
Pedro Algarvio
3d56434d3e Upgrade to `pytest-skip-markers==1.5.0`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
David Murphy
d891daa222 Ensure any pre-exiting incorrect ufw directory /etc/ufw/applications.d/salt-master is removed 2023-11-04 06:24:42 +00:00
David Murphy
90fe04b304 Adjust break in control file to 3006.4, for updated salt-common commit b3fcdf8 2023-11-03 18:30:04 +00:00
David Murphy
6b334b72ed Marked odict as no code-coverage, and removed some proposed tests, essentially using Python's OrderedDict 2023-11-03 12:16:34 +00:00
David Murphy
45932d9112 WIP Ported test_data.py from unittest to pytest and adding additional tests 2023-11-03 12:16:34 +00:00
Pedro Algarvio
bb1bc2a326 And apparently 2 hours is not enough to run one of the integration test chunks
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 07:11:29 +00:00