Pedro Algarvio
|
2ccf2d9d80
Reset PyTest's `catch_log_handler` after test since pyTest doesn't do it.
|
4 éve |
Pedro Algarvio
|
63c1d2edf0
Temporarily skip tests which were simply ignored before pytest
|
4 éve |
Pedro Algarvio
|
2d4d1ff6d4
Only hack non `function` scoped fixtures
|
4 éve |
Pedro Algarvio
|
a51872b300
For `unitest.TestClass` subclasses we need to use `pytest_runtest_protocol` instead
|
4 éve |
Pedro Algarvio
|
22cdd04f07
Hack PyTest's fixture finalization timing
|
4 éve |
Pedro Algarvio
|
4901e596e7
Handle windows test whitelisting pytest markers
|
4 éve |
Pedro Algarvio
|
8d81f62452
Move static `norecursedirs` to `pytest.ini`
|
4 éve |
Pedro Algarvio
|
3423a7b6fe
Rework test group selection logic
|
4 éve |
Daniel A. Wozniak
|
67d7a5a427
Merge branch 'master' into pr/56249
|
4 éve |
Blacken Salt
|
0b2a5613b3
Blacken salt
|
4 éve |
Pavel Skuratovich
|
cdd7ec02c3
Replace incorrectly used "it's" by "its"
|
4 éve |
Pedro Algarvio
|
35646c5ed9
Fix PyLint `broad-except`
|
4 éve |
Pedro Algarvio
|
44fbc4004a
Tell PyTest tests were skipped by a mark
|
5 éve |
Pedro Algarvio
|
c4712e3b78
Add some pylint disables
|
5 éve |
Pedro Algarvio
|
7de939f6b2
All salt imports should be done at the global module level
|
5 éve |
Pedro Algarvio
|
b539b561e0
The `skip_if_not_root` pytest marker is now windows compatible
|
5 éve |
Pedro Algarvio
|
64a3739d00
Use `salt.serializers.yaml.deserialize()` to avoid deprecation warnings
|
5 éve |
Pedro Algarvio
|
1c5d39ed31
Fix virtualenv binary discovery for windows
|
5 éve |
Pedro Algarvio
|
96cac845d9
Apply the same config settings under PyTest as in bdf24f4064
|
5 éve |
Pedro Algarvio
|
3f60d83694
Implement `requires_salt_modules` as a pytest marker
|
5 éve |
Pedro Algarvio
|
85e387d13b
Switch to `sminion` support code
|
5 éve |
Pedro Algarvio
|
ae304b539a
Actually cache the grains
|
5 éve |
Pedro Algarvio
|
fd51465445
Assert that any temp states or pillar is not left behind
|
5 éve |
Pedro Algarvio
|
c5e0a19116
Refactor helper to allow handling non state temp files
|
5 éve |
Pedro Algarvio
|
98ab80446e
Add a pytest helper to create a temporary state file
|
5 éve |
Pedro Algarvio
|
56f016b52f
This is a custom fixture
|
5 éve |
Pedro Algarvio
|
602d722e91
Future proof the code
|
5 éve |
Pedro Algarvio
|
d10734a066
Under Py3 we need `optimization_order` set on the opts dictionary
|
5 éve |
Pedro Algarvio
|
8ff26f76d0
Add a session scoped grains fixture
|
5 éve |
Pedro Algarvio
|
eca0149b8b
Allow using the grains dictionary to skip tests
|
5 éve |