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