Blacken Salt
|
0b2a5613b3
|
Blacken salt
|
2020-04-03 13:05:41 -05:00 |
|
Pedro Algarvio
|
35646c5ed9
|
Fix PyLint broad-except
|
2020-01-03 12:57:52 +00:00 |
|
Pedro Algarvio
|
44fbc4004a
|
Tell PyTest tests were skipped by a mark
|
2019-12-17 18:20:46 +00:00 |
|
Pedro Algarvio
|
c4712e3b78
|
Add some pylint disables
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
7de939f6b2
|
All salt imports should be done at the global module level
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
b539b561e0
|
The skip_if_not_root pytest marker is now windows compatible
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
64a3739d00
|
Use salt.serializers.yaml.deserialize() to avoid deprecation warnings
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
1c5d39ed31
|
Fix virtualenv binary discovery for windows
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
96cac845d9
|
Apply the same config settings under PyTest as in bdf24f4064
|
2019-12-17 18:20:45 +00:00 |
|
Pedro Algarvio
|
3f60d83694
|
Implement requires_salt_modules as a pytest marker
|
2019-12-17 18:20:44 +00:00 |
|
Pedro Algarvio
|
85e387d13b
|
Switch to sminion support code
|
2019-12-17 18:20:44 +00:00 |
|
Pedro Algarvio
|
ae304b539a
|
Actually cache the grains
|
2019-12-17 18:20:44 +00:00 |
|
Pedro Algarvio
|
fd51465445
|
Assert that any temp states or pillar is not left behind
|
2019-12-17 18:20:44 +00:00 |
|
Pedro Algarvio
|
c5e0a19116
|
Refactor helper to allow handling non state temp files
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
98ab80446e
|
Add a pytest helper to create a temporary state file
Conflicts:
* tests/conftest.py
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
56f016b52f
|
This is a custom fixture
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
602d722e91
|
Future proof the code
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
d10734a066
|
Under Py3 we need optimization_order set on the opts dictionary
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
8ff26f76d0
|
Add a session scoped grains fixture
|
2019-12-17 18:20:43 +00:00 |
|
Pedro Algarvio
|
eca0149b8b
|
Allow using the grains dictionary to skip tests
|
2019-12-17 18:20:42 +00:00 |
|
Pedro Algarvio
|
2d7bafdead
|
Don't break MacOS tests because of long unix socket's paths
|
2019-12-17 18:20:42 +00:00 |
|
Pedro Algarvio
|
85c86f1341
|
Fix tests/integration/states/test_file.py::FileTest::test_issue_50221
|
2019-12-17 18:20:41 +00:00 |
|
Pedro Algarvio
|
a82c0626cd
|
Absolutely no unicode in os.environ
|
2019-12-17 18:20:41 +00:00 |
|
Pedro Algarvio
|
b245954afe
|
Add test groups support
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
37fce97e9a
|
Move daemon fixtures to "where" they're used
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
509a912a8f
|
PyTest salt proxy tests support/fixes
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
14c1ccdce9
|
Tell the pytest engine to stop sending events once matched
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
86faed3102
|
Wipe the CLI scripts on start
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
4f5e8f3903
|
pillar_opts must remain True
|
2019-12-17 18:20:40 +00:00 |
|
Pedro Algarvio
|
708b5c9dc5
|
Coverage tracking fixes
|
2019-12-17 18:20:39 +00:00 |
|
Pedro Algarvio
|
1dfa4b998e
|
Concentrate test suite CLI script generation in PyTest Salt
|
2019-12-17 18:20:39 +00:00 |
|
Pedro Algarvio
|
70acab1d4a
|
Add missing reactor event handling to config
|
2019-12-17 18:20:39 +00:00 |
|
Pedro Algarvio
|
6119901b61
|
Fix hosts tests
|
2019-12-17 18:20:39 +00:00 |
|
Pedro Algarvio
|
c6b8e22e9b
|
Minor fixes to sub minion config
|
2019-12-17 18:20:39 +00:00 |
|
Pedro Algarvio
|
522b7fc31d
|
Patch RUNTIME_VARS.TMP_ROOT_DIR
|
2019-12-17 18:20:38 +00:00 |
|
Pedro Algarvio
|
a6607c2b90
|
Don't tweak RUNTIME_VARS.TMP nor RUNTIME_VARS.SYS_TMP_DIR
|
2019-12-17 18:20:38 +00:00 |
|
Pedro Algarvio
|
528cbb83eb
|
Teach PyTest where NOT to look for tests
|
2019-12-17 18:20:38 +00:00 |
|
Pedro Algarvio
|
db6e417965
|
Log the start and the end of each test
|
2019-12-17 18:20:38 +00:00 |
|
Pedro Algarvio
|
af778cc509
|
We need to load the client config
|
2019-12-17 18:20:38 +00:00 |
|
Pedro Algarvio
|
67a62a77d2
|
Set max open files the same way runtests.py does it
|
2019-12-17 18:20:37 +00:00 |
|
Pedro Algarvio
|
d85baaef97
|
Reap astray processes
|
2019-12-17 18:20:37 +00:00 |
|
Pedro Algarvio
|
50ba53e564
|
RUNTIME_VARS.TMP_PILLAR_TREE must point to the base env root dir
|
2019-12-17 18:20:37 +00:00 |
|
Pedro Algarvio
|
6dbf622823
|
RUNTIME_VARS.TMP_STATE_TREE must point to the base env root dir
|
2019-12-17 18:20:37 +00:00 |
|
Pedro Algarvio
|
974114e994
|
Match the runtests.py value
|
2019-12-17 18:20:37 +00:00 |
|
Pedro Algarvio
|
e84426a965
|
Remove from stats when done
|
2019-12-17 18:20:36 +00:00 |
|
Pedro Algarvio
|
4c848e12be
|
Only start the syndic and the syndic master on tests that require it.
The benefit is that they'll stop after those tests run :)
Conflicts:
* tests/integration/shell/test_syndic.py
|
2019-12-17 18:20:36 +00:00 |
|
Pedro Algarvio
|
3cecd553f0
|
We always have to lay down the configuration files
|
2019-12-17 18:20:36 +00:00 |
|
Pedro Algarvio
|
bcfa303321
|
Flag as a PyTest run
|
2019-12-17 18:20:36 +00:00 |
|
Pedro Algarvio
|
7adc5d275d
|
Switch from TestDaemon to pytest-salt fixtures.
All except salt-ssh and salt-proxy for now
|
2019-12-17 18:20:36 +00:00 |
|
Pedro Algarvio
|
0f65b3a452
|
Drop auto markers code
|
2019-12-17 18:20:35 +00:00 |
|