Gareth J. Greenaway
f45918f94c
adding tests for _ps
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
c9411c5ccb
Adding tests for _bsd_memdata and excludes AIX and Solaris functions from coverage.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
536cf77b0e
Adding tests for various BSD cpu data and NetBSD gpu data functions.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
9ee2b85fe2
more coverage for _linux_cpu_data
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
9649490426
Additional tests for memdata and _parse_junos_showver
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
dc0d5272c7
adding tests for _osx_platform_data
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
eac445fbfb
Adding test for default_gateway
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
645322a5f2
Adding tests for _linux_init_system
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
dc83151788
Additional test case for _parse_cpe_name
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
9543134c5c
Additional use case for test__windows_virtual
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
e166daf202
Skip test_get_machine_id unless running on Linux
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
fde3d51c44
Adding tests for _clean_value.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
a19a2017db
Additional tests for selinux and systemd
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
489b3387be
tests for server_id and get_master
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
48b182cf84
Additional tests for kernelparams.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
0776274479
additional test components.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
5b606e8484
account for different return on windows.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
c326dd6fb7
Adding a couple more tests.
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
76f4d55507
Adding additional tests to increase coverage for salt/states/file.py and salt/grains/core.py
2023-12-12 15:29:12 -07:00
Gareth J. Greenaway
d1c171e93a
removing code for older version of psutil that is no longer necessary. Adding more test cases.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
bbff0243be
removing unnecessary test
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
6916873267
removing skips for older version of psutil.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
15853c3760
Fixing test_top cpu and mem tests on Windows
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
7946e6b97b
fixing typo in the test_swap_memory test.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
a56e2920f4
Adding more tests to increase coverage in the ps module.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
0d915b59e6
fixing up test_top to increase coverage.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
95079b71e1
Adding tests for functions currently missing tests.
2023-12-12 15:28:42 -07:00
Gareth J. Greenaway
4f36e5a274
Increasing test coverage for ps module with additional tests.
2023-12-12 15:28:42 -07:00
Shane Lee
d16815dab5
Fix an issue with the openscap module
...
Fixes an issue with the openscap module where it would fail if the
command returned an exit code not found in the exit_codes_map
dictionary. Instead of failing, let's return false with the exit code
and error message in the return.
2023-12-12 15:26:32 -07:00
Pedro Algarvio
bd52be3a70
Skip test if None
is returned
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-12 15:26:07 -07:00
Pedro Algarvio
0e01c1dfe3
Remove test for non existing function
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-12 15:26:07 -07:00
Pedro Algarvio
de03f395bd
The _setup_teardown_vars
is not really required
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-12 15:26:07 -07:00
Pedro Algarvio
4b56ff11f3
Don't group fixtures, and improve them
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
e19400c36b
Adding a check to skip mac_assistive tests if the osa_script is unable to be installed.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
fcca388664
unskips and fixes to test_mac_timezone.py
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
9e2df85ff7
remove skip for timezone tests
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
cf72e134cf
fixing setup fixture for test_mac_group to cleanup properly after each test
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
c087f7f47d
removing fixture from mac_assistant tests.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
3458f0f5ed
more fixes related to migrating the mac tests over to functional tests
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
4afaa5c920
fixses and a skip added to test_mac_shadow.py test_mac_softwareupdate.py
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
23721593c8
fixes to test_mac_service.py
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
3aab2f7c26
fixing test_mac_desktop.py test_mac_keychain.py test_mac_power.py test_mac_power_wake_on_modem.py test_mac_service.py
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
f76bcef411
fixing test_mac_group tests.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
b1ab3d2ea6
converting remain Mac integration tests to functional.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
ef46b8452c
suggested changes
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
b5b1ee0ff1
Update test_mac_keychain.py
...
Need to recreate the mock to ensure the number of calls is correct.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
c23df2a2d5
Update test_mac_keychain.py
...
Need to mock cmd again for the second call.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
9eadba3e10
Only use legacy=True if openssl version is greater than or equal to 3.0.0.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
b489fe0435
move test_mac_brew_pkg.py integration tests to functional.
2023-12-12 15:26:07 -07:00
Gareth J. Greenaway
84c0f3e689
fixing failing unit tests.
2023-12-12 15:26:07 -07:00