Commit graph

24078 commits

Author SHA1 Message Date
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
c9d18056e9 Initial port of unittest test_junos to pytest 2023-11-06 08:55:42 -08:00
Pedro Algarvio
9356099229
Cleanup and fix tests after the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-06 14:15:34 +00:00
Pedro Algarvio
e43d884db7
Enabling zmq_monitor makes the test test_req_server_garbage_request hang
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 18:34:02 +00:00
Pedro Algarvio
6c9dc08bb1
Remove char wrongly introduced in merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 20:13:03 +00:00
Pedro Algarvio
e7b5f24ab3
Merge 3006.x into master 2023-11-03 20:05:20 +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
David Murphy
29a6202f96 Updatd test per reviewer comments 2023-11-02 08:23:36 +00:00
David Murphy
42a2149621 Ported tesT_listdiff.py from unittest to pytest and additional code-coverage tests 2023-11-02 08:23:36 +00:00
Daniel A. Wozniak
ae1bf35ce8 Add test coverage 2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
f6ad1a5f94 Fix timeout test 2023-10-31 07:55:54 +00:00
Pedro Algarvio
8edd383c0e
Run pyupgrade against modified files in the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 22:29:28 +00:00
Pedro Algarvio
c8f5d589d2
Merge 3006.x into master 2023-10-29 22:25:59 +00:00
Pedro Algarvio
e46e33ab9d
Remove unused variable
Added while resolving conflicts from merge forward

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 11:03:09 +00:00
Pedro Algarvio
16dce0b4cc
Merge v3006.4 into 3006.x 2023-10-29 09:24:34 +00:00
David Murphy
9194800ddb Added pytests for logging 2023-10-27 10:52:10 +01:00
David Murphy
c6e8fa3b17 Converted global constants to pytest fixtures per reviewer comments 2023-10-27 09:04:47 +01:00
David Murphy
e919e8f63e Updated asserts and limit testing to Linux only 2023-10-27 09:04:47 +01:00
David Murphy
3c4aa715ba Updated tests with tablespace alter tests 2023-10-27 09:04:47 +01:00
David Murphy
7714b22f07 Updates tests for tablespace_list, tablespace_exists and tablespace_remove 2023-10-27 09:04:47 +01:00
David Murphy
0963209cc3 Migrated test_deb_postgre.py to pytests 2023-10-27 09:04:47 +01:00
David Murphy
4dbd8caec2 Further update to test per reviewer comment 2023-10-27 09:04:47 +01:00
David Murphy
d2481582f4 Updated test per reviewer suggestion 2023-10-27 09:04:47 +01:00
David Murphy
452f6bdf85 Added tablespace_create test 2023-10-27 09:04:47 +01:00
David Murphy
a919a3ea87 Initial port of test/unit/module/test_postgres.py to pytests 2023-10-27 09:04:47 +01:00
Pedro Algarvio
90666c8333
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
32fac46e75
Fix test since it's now only one call
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-26 17:29:47 +01:00
Pedro Algarvio
5cba721cf9
Merge 3006.x into master 2023-10-26 17:17:53 +01:00
Pedro Algarvio
5a62968da8
Fix test groups issue when re-running test failures
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-26 17:12:02 +01:00
Thomas Phipps
38725e27d7 revert the destroy, and use s0undt3chs advise 2023-10-25 16:35:08 +01:00
Thomas Phipps
841486c976 add code coverage for salt/payload.py 2023-10-25 16:35:08 +01:00
Pedro Algarvio
6cb08d68b4 Fix test groups issue when re-running test failures
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-25 16:19:02 +01:00
Pedro Algarvio
bb86351eca Fix variable name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
Pedro Algarvio
468e6b5763 Avoid having to resolve DNS for a unittest
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
Pedro Algarvio
58564f5882 Skip test that hangs on PhotonOS 3
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
twangboy
1e976cf735 Fix lint 2023-10-24 14:59:53 -07:00
twangboy
134ea53a43 Fix issue when policy dirs are missing 2023-10-24 14:59:53 -07:00
Pedro Algarvio
84d6c962f6 Something changes on GH's Mac's, switch package name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 21:05:28 +01:00
David Murphy
f5e4c1b886 Update tests/pytests/integration/client/test_runner.py
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-10-23 16:26:51 +01:00
David Murphy
5765a8b4f6 Remove left-over logging from debugging 2023-10-23 16:26:51 +01:00
David Murphy
2dd3c8cd0c Increase code coverare for salt/client/mixins.py 2023-10-23 16:26:51 +01:00
Pedro Algarvio
d52647d98b
Run pyupgrade against the changes from the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-22 13:00:52 +01:00
Pedro Algarvio
6d17f6e8ca
Merge 3006.x into master 2023-10-22 12:20:30 +01:00
Pedro Algarvio
6638e51c19
Skip test that hangs on PhotonOS 3
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-22 12:20:02 +01:00
David Murphy
28cc894fbe Update tests to reflect review comments 2023-10-21 19:49:07 +01:00
David Murphy
320e4a69a6 Updated caplog message check for master_uri error message 2023-10-21 19:49:07 +01:00
David Murphy
7d29a1222a Added caplog and check for test.versions as per reviewer's request 2023-10-21 19:49:07 +01:00
David Murphy
d50c5088bf Removed typo'd line in test test_salt_call_versions 2023-10-21 19:49:07 +01:00