Pedro Algarvio
|
99da0a98a5
Provide functionality for easier/cleaner state runs comparisson
|
5 lat temu |
Pedro Algarvio
|
84a6749f1a
Rename `tests.support.runtests` to `tests.support.runtime`.
|
5 lat temu |
Pedro Algarvio
|
75f7dad33c
All salt imports should be done at the global module level
|
5 lat temu |
Pedro Algarvio
|
b300174aa1
No module unloading. Maintain the Zen of Python.
|
5 lat temu |
Pedro Algarvio
|
5a93c7ea93
Replace `@expensiveTest` with `@pytest.mark.expensive_test`
|
5 lat temu |
Pedro Algarvio
|
898ec93c5d
Replace `@destructiveTest` with `+@pytest.mark.destructive_test`
|
5 lat temu |
Pedro Algarvio
|
7a242b521f
Replace `@skip_if_not_root` with `@pytest.mark.skip_if_not_root`
|
5 lat temu |
Pedro Algarvio
|
814f7c61c1
Fix virtualenv binary discovery for windows
|
5 lat temu |
Pedro Algarvio
|
af9b3bcb24
Apply the same config settings under PyTest as in bdf24f4064
|
5 lat temu |
Pedro Algarvio
|
a664354018
Use `salt.serializers.yaml.deserialize()` to avoid deprecation warnings
|
5 lat temu |
Pedro Algarvio
|
5852fab798
Fix the `required_salt_modules` marker
|
5 lat temu |
Pedro Algarvio
|
dd3f6bfa76
Assert that any temp states or pillar is not left behind
|
5 lat temu |
Pedro Algarvio
|
ec60a28936
Refactor helper to allow handling non state temp files
|
5 lat temu |
Pedro Algarvio
|
de7cabc43d
Implement `requires_salt_modules` as a pytest marker
|
5 lat temu |
Pedro Algarvio
|
73745731bc
Add support code to create SMinion's
|
5 lat temu |
Pedro Algarvio
|
4763f58b20
Actually cache the grains
|
5 lat temu |
Pedro Algarvio
|
706f679e17
Add a pytest helper to create a temporary state file
|
5 lat temu |
Pedro Algarvio
|
99d5cc852e
This is a custom fixture
|
5 lat temu |
Pedro Algarvio
|
534007f3eb
Future proof the code
|
5 lat temu |
Pedro Algarvio
|
fe0ad63baa
Under Py3 we need `optimization_order` set on the opts dictionary
|
5 lat temu |
Pedro Algarvio
|
e4b7918c62
Add a session scoped grains fixture
|
5 lat temu |
Pedro Algarvio
|
c55288a884
Allow using the grains dictionary to skip tests
|
5 lat temu |
Pedro Algarvio
|
bca5e530c3
The `skip_if_not_root` pytest marker is now windows compatible
|
5 lat temu |
Pedro Algarvio
|
c6c5b5dba7
Don't break MacOS tests because of long unix socket's paths
|
5 lat temu |
Pedro Algarvio
|
ff8dc538c4
Fix `tests/integration/states/test_file.py::FileTest::test_issue_50221`
|
5 lat temu |
Pedro Algarvio
|
6ad5dbe4bd
Fix markers code. Remove unused imports.
|
5 lat temu |
Pedro Algarvio
|
f376a5a0a0
Drop the extra code to suppress warnings
|
5 lat temu |
Pedro Algarvio
|
26f680e3e7
More info on the error message
|
5 lat temu |
Pedro Algarvio
|
9c251391a8
Absolutely no unicode in `os.environ`
|
5 lat temu |
Pedro Algarvio
|
d37aebd4a8
Some configs should live in pytest.ini
|
5 lat temu |