salt/tests/pytests
bdrx312 66caa58346 Fix issues with requisites and aggregate
add install of networkx
fix aggregate to properly work with requisites
fix requisite checking to not be exponential
fix pkg aggregate to work when multiple states specify the same package
add some type hints to state.py to make the code easier to follow
fix case of pkg aggregate duplicate package.
2024-10-10 01:53:52 -07:00
..
functional Fix issues with requisites and aggregate 2024-10-10 01:53:52 -07:00
integration Allow fstring linting 2024-09-30 12:10:26 -07:00
pkg Merge branch '3007.x' into merge/master/3007.x 2024-07-04 21:35:33 -07:00
scenarios Merge branch '3007.x' into merge/master/3007.x 2024-07-04 21:35:33 -07:00
unit Fix issues with requisites and aggregate 2024-10-10 01:53:52 -07:00
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
conftest.py Merge branch '3007.x' into merge/master/3007.x 2024-07-04 21:35:33 -07:00
README.md Fix broken backport 64229 form master to 3006.x 2023-05-26 07:30:29 +01:00

New Test Suite

Welcome to the new test suite for Salt!

Any test under this directory shall be written exploring the full capabilities of PyTest. That means, no occurrences of the TestCase class shall be used, neither our customizations to it.

Purpose

While PyTest can happily run unittest tests(withough taking advantage of most of PyTest's strengths), this new path in the tests directory was created to provide a clear separation between the two approaches to writing tests. Some(hopefully all) of the existing unittest tests might get ported to PyTest's style of writing tests, new tests should be added under this directory tree, and, in the long run, this directory shall become the top level tests directory.