Barney Sowood
5fe28f00f9
Skip cmd.script tests on windows
...
Skips cmd.script tests on windows. These are using a python script
that relies on the shebang in the script to work on Unix like OSes. That
won't work on Windows.
2025-01-17 16:14:28 -07:00
Daniel A. Wozniak
d9bfbee860
Fix runas test by adding cwd
2025-01-11 15:25:01 -07:00
Niklas Rousset
eba0b174d7
Add test cases for stdin_raw_newlines functionality
2024-09-18 14:53:40 -07:00
Shane Lee
580ad437fd
Fix some tests
2024-05-14 21:15:16 +01:00
Pedro Algarvio
03ad4c6337
Update code to be Py3.7+ to reduce merge forward conflicts
2024-02-29 10:16:58 +00:00
Pedro Algarvio
be89222f8d
Windows fixes for the new golden images
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-12-14 11:23:26 -07:00
Pedro Algarvio
4d49013247
Update to isort 5.10.1
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-08-01 12:49:16 -06:00
Pedro Algarvio
899d1392df
Skip tests failing on PhotonOS until we fix them all
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-02-22 14:28:54 +00:00
Gareth J. Greenaway
dd0ed4ab85
Removing any changes related to changing permissions. This is handled when we build the golden images for tests.
2022-02-18 12:12:58 -05:00
Gareth J. Greenaway
00ee5eed1d
various changes and fixes needed to add PhotonOS into CICD.
2022-02-18 12:12:58 -05:00
Thomas Phipps
de9efde465
attempt to fix broken tests
2022-02-08 10:32:25 -08:00
Joe Eacott
146b6067fb
fix test attempt
2021-09-26 08:48:45 -07:00
Joe Eacott
37447424a6
skip on windows because unix command which is now available
2021-09-26 08:48:45 -07:00
Pedro Algarvio
76e50885b0
Fix strings
2021-08-06 13:09:47 -07:00
Pedro Algarvio
aef8fdc3d3
Bump to pytest-salt-factories >= 0.903.x
2021-05-28 14:48:59 -07:00
Loren Gordon
ee2a399202
Supports matching partial strings against stderr and stdout
2021-04-05 14:45:12 -04:00
Loren Gordon
3ab29ad148
Lints backport with new rules
2021-04-05 14:45:12 -04:00
Gareth J. Greenaway
dfeb608d4e
Fixing test_retcode_with_success_retcodes to be more Windows friendly.
2021-04-05 14:45:12 -04:00
Gareth J. Greenaway
236998194e
Adding the ability to override the return code based on either stdout or stderr output.
2021-04-05 14:45:12 -04:00
twangboy
c109398834
Fix pre-commit
2021-03-01 08:19:14 -05:00
twangboy
82fe0ebb9c
Remove fstrings in test
2021-03-01 08:19:14 -05:00
twangboy
38059f43d8
Use f string on Windows
2021-03-01 08:19:14 -05:00
twangboy
783ff69351
Fix pre-commit
2021-03-01 08:19:14 -05:00
twangboy
e7f64f27ba
Remove fstrings in test
2021-03-01 08:19:14 -05:00
twangboy
8c6dad33e6
Use f string on Windows
2021-03-01 08:19:14 -05:00
twangboy
b17592ed4f
Add message to skips
2021-03-01 08:19:14 -05:00
twangboy
b64a0caccc
Fix pre-commit
2021-03-01 08:19:14 -05:00
twangboy
9de6ddceb9
Remove fstrings in test
2021-03-01 08:19:14 -05:00
twangboy
8e4c1b788b
Use f string on Windows
2021-03-01 08:19:14 -05:00
twangboy
2175f8f0e2
Use pytest skips
2021-03-01 08:19:14 -05:00
twangboy
1e3e69609c
Fix pre-commit
2021-03-01 08:19:14 -05:00
twangboy
386634a313
Remove fstrings in test
2021-03-01 08:19:14 -05:00
twangboy
0c7c96c054
Fix pre-commit
2021-03-01 08:19:14 -05:00
twangboy
06c855f9eb
Don't use f strings
2021-03-01 08:19:14 -05:00
twangboy
343ba3804a
Fix slowTest marker
2021-03-01 08:19:14 -05:00
twangboy
fd939a809c
Use f string on Windows
2021-03-01 08:19:14 -05:00
twangboy
9c77b7d396
Add tests, fix tests
2021-03-01 08:19:14 -05:00
twangboy
7e38e52244
Allow use of query parameters in cmd.script source url
2021-02-09 06:11:51 -05:00
Pedro Algarvio
27f80cdc63
Replace @skip_if_binaries_missing
with @pytest.mark.skip_if_binaries_missing
2021-02-03 10:15:33 +00:00
Pedro Algarvio
cd004c9e8a
Replace @skip_if_not_root
with @pytest.mark.skip_if_not_root
2021-02-03 10:15:33 +00:00
Pedro Algarvio
75e9655d10
Replace @slowTest
with @pytest.mark.slow_test
2021-02-03 06:30:11 +00:00
Pedro Algarvio
967d26a7fc
Replace @destructiveTest
with @pytest.mark.destructive_test
2021-02-02 18:19:15 +00:00
Pedro Algarvio
144e680a97
Drop Py2 and six on tests/integration/modules/test_cmdmod.py
2021-01-12 21:35:03 +00:00
Pedro Algarvio
84124de00a
Fix integration.modules.test_cmdmod.CMDModuleTest.test_cmd_run_whoami
2020-05-24 20:40:45 -07:00
Pedro Algarvio
690e859091
We don't really need the sudo check
2020-05-22 09:17:36 -07:00
Pedro Algarvio
0b9f5d51c5
Don't expect a hardcoded username
2020-05-21 23:59:36 -07:00
Daniel A. Wozniak
b95550ce55
Code is a string not yaml
2020-05-13 18:08:55 -07:00
Pedro Algarvio
81f43fb67f
Get some insight on failing tests
2020-05-07 16:00:11 -07:00
Wayne Werner
ca4e3c5e93
Add missing windows skip
2020-05-07 13:09:02 -07:00
Pedro Algarvio
2209c25bf9
Add --run-slow flag to runtests.py
2020-05-07 13:09:02 -07:00