Pedro Algarvio
8534384a40
Make sys.path
cleanup work on windows
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00
Pedro Algarvio
2193e44d42
Dam you Windows Paths!
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-02-20 19:40:47 +00:00
Pedro Algarvio
c4fa5a641f
Only set ONEDIR_TESTRUN
if onedir
is True
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-25 10:05:16 -07:00
Pedro Algarvio
2ca75aaed5
Adjust sys.path
and the salt_factories_config
fixture for onedir test runs
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-21 07:51:50 +00:00
Daniel A. Wozniak
d9b50659b2
Pyupgrade and drop six
2021-07-06 09:04:28 -04:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Dan Colish
f5c8e242e4
Refactor runtests to allow dotted path module discovery.
...
In addition to traditional file system path test discovery it is
useful to run a test by stating it's dotted python path. For example,
this will only run the cmdmod integration tests from the
module suite::
$ runtests.py -n tests.integration.modules.cmdmod
2012-05-29 19:56:47 -07:00