Commit graph

118562 commits

Author SHA1 Message Date
David Murphy
beea32d839 Allow for Photon returning the wrong thing for IPv4 localhost test 2023-11-14 16:53:15 +00:00
David Murphy
903778d83f Re-arranged the IPv6 localhost test and allowed for forms of Arch 2023-11-14 16:53:15 +00:00
David Murphy
6809e97146 Added debug logic to determine correct value for test localhost on IPv6 2023-11-14 16:53:15 +00:00
David Murphy
66fd7a5096 Update localhost and IPv6 tests for Debian 12 and Arch 2023-11-14 16:53:15 +00:00
David Murphy
3fb20089bb Cleaned up typo 2023-11-14 16:53:15 +00:00
David Murphy
a4a11986b3 Added debugging for localhost tests 2023-11-14 16:53:15 +00:00
David Murphy
5f8130a592 Updated tests and mark other old OS's as no coverage 2023-11-14 16:53:15 +00:00
David Murphy
fbd2fb282a Updated localhost IPv6 tests to allow for different Linux OSs 2023-11-14 16:53:15 +00:00
David Murphy
eac9121a87 Update tests 2023-11-14 16:53:15 +00:00
David Murphy
3702bcf8e7 Added log to check ret for test 2023-11-14 16:53:15 +00:00
David Murphy
0b810f016d Adjusted test 2023-11-14 16:53:15 +00:00
David Murphy
1a25bd7630 Added some tests for code-coverage 2023-11-14 16:53:15 +00:00
David Murphy
4e80309923 Initial working tests after migration to pytests, and pre-commit pass 2023-11-14 16:53:15 +00:00
David Murphy
b744a4a334 Initial port from unittest to pytest 2023-11-14 16:53:15 +00:00
MKLeb
eda790d495 Implement review feedback 2023-11-13 21:16:29 +00:00
MKLeb
e0e6546586 Add more coverage for the saltfile mixin and ensure passed CLI options take priority 2023-11-13 21:16:29 +00:00
MKLeb
7ab967a71b Add tests for the different ways to get the saltfile option 2023-11-13 21:16:29 +00:00
MKLeb
471ca4654f Migrate tests/unit/utils/parsers/test_log_parsers.py to pytest 2023-11-13 21:16:29 +00:00
Pedro Algarvio
11dd2ec8a9 Use the grains fixture
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 18:14:26 +00:00
Pedro Algarvio
bb4d8e25ed Fix package test matrix for amazon-linux-2023
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 18:14:26 +00:00
Pedro Algarvio
d94312b546 Add support for AmazonLinux 2023 when building repos
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-10 18:14:26 +00:00
David Murphy
e7b5a4e0d8 Updated test per reviewer's comments 2023-11-09 18:52:33 +00:00
David Murphy
3a9d28634c Updated test as per reviewer comments 2023-11-09 18:52:33 +00:00
David Murphy
b92b13cf07 Update to f-strings as per reviewers comments 2023-11-09 18:52:33 +00:00
David Murphy
be3b6cd64b Skip some tests on Windows 2023-11-09 18:52:33 +00:00
David Murphy
945137bd10 Updated tests for saltutil for code-coverage 2023-11-09 18:52:33 +00:00
Pedro Algarvio
2b142dc81b Update tools/vm.py 2023-11-09 17:25:00 +00:00
Megan Wilhite
404a659a39 Add download flag to tool's rsync cmd 2023-11-09 17:25:00 +00:00
Megan Wilhite
ecd29f5a22 Fix pre-commit 2023-11-09 17:23:55 +00:00
Megan Wilhite
fe368f4166 update package name in tests for amazon linux 2023 2023-11-09 17:23:55 +00:00
Megan Wilhite
a199b5b454 Only run amazon linux2 package tests for >=3006 2023-11-09 17:23:55 +00:00
Pedro Algarvio
1195971ffd Simplify logic
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-09 17:23:55 +00:00
Megan Wilhite
66bdc36a31 Fix amazon linux 2 tests 2023-11-09 17:23:55 +00:00
Megan Wilhite
1c312ca9c0 Fix amazon linux 2023 tests 2023-11-09 17:23:55 +00:00
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