Commit graph

76 commits

Author SHA1 Message Date
David Murphy
c61822fbd9 Updates due to pytest-shell-utilities and psutil version updates 2024-10-24 08:57:52 -07:00
David Murphy
6e43c93634 Use updated pytest-skip-markers to pick up corrected MacOS Arm64 support 2024-08-12 08:28:47 -07:00
Daniel A. Wozniak
3735415fbc Bump requests and docker requirements 2024-06-24 09:37:46 -07:00
Pedro Algarvio
ccfd8ea364 Upgrade to `pytest-salt-factories==1.0.0` 2024-03-21 21:15:17 +00:00
Pedro Algarvio
6952f883bd Bump to pytest-timeout==2.3.1 2024-03-09 22:26:17 +00:00
Pedro Algarvio
20fd342182 Only show system information.
The test plan was always wrong due to the kind of test selection that
was done.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 08:15:23 +00:00
Thomas Phipps
c91e1d8a5e add https to proxy so that requests knows how to proxy https 2024-01-23 10:15:26 -07:00
Pedro Algarvio
eaf5245965 Let's fake the filesystem instead
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-27 21:13:22 +00:00
Pedro Algarvio
705581130a Bump to pytest-salt-factories==1.0.0rc28
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-26 13:05:11 +00:00
Pedro Algarvio
1981c3784d Switch to more-itertools when splitting the tests into slices/chunks
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-04 20:54:42 +01:00
Pedro Algarvio
19712b22f2 Bump to pytest-salt-factories==1.0.0rc27
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-29 16:12:59 +01:00
Pedro Algarvio
e348a49ed5 Bump to pytest-salt-factories==1.0.0rc26
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-25 17:26:12 +01:00
Pedro Algarvio
cbcbe14d47 Bump to pytest-salt-factories==1.0.0rc25
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00
Pedro Algarvio
5033860d2a Don't use requirements with extras as that breaks pip constraints usage
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-19 20:37:29 +00:00
Pedro Algarvio
c3477da2dd The 3006.x branch is Python >= 3.7 already. Remove unnecessary python_version markers.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 09:23:32 +01:00
Pedro Algarvio
a350c4474a Revert "Bump to pytest-salt-factories==1.0.0rc23 on Python >= 3.7"
This reverts commit 8bd0b7dabb.
2022-12-17 14:30:12 +00:00
Pedro Algarvio
cc91a1bf64 Bump to pytest-salt-factories==1.0.0rc23 on Python >= 3.7
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-12-15 09:17:47 -07:00
Pedro Algarvio
97e2994bd5 Revert "Bump to pytest-salt-factories==1.0.0rc22"
This reverts commit f62df06b24.
2022-12-09 11:12:15 +00:00
Pedro Algarvio
f62df06b24
Bump to pytest-salt-factories==1.0.0rc22
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-12-06 16:51:46 +00:00
Megan Wilhite
d9d8627164 Update pytest to 7.2.0 2022-11-23 09:48:28 -07:00
Pedro Algarvio
0f6b9efbea Bump to pytest-salt-factories==1.0.0rc21
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-07 12:22:08 -07:00
Pedro Algarvio
1ed20998c8 Bump to pytest-salt-factories==1.0.0rc20
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-08-29 13:23:23 -07:00
Pedro Algarvio
33c9b12fa8 Add `pytest-custom-exit-code==0.3.0` as a dependency.
When running the test suite it chunks, specially when running against
the changed files, some of the test groups might not collect any test
and Jenkins does not help with getting the exit code from scripts.
This is where ``pytest-custom-exit-code` comes in, it allows exiting
with a 0 exit code when no tests are collected.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-07-18 14:56:16 -07:00
Pedro Algarvio
ab26044a9f Bump to pytest-salt-factories 1.0.0rc17
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-06-21 06:56:55 -06:00
Pedro Algarvio
639ebc00bc Bump to `pytest==7.0.1` for Py>=3.6
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-06-02 07:05:09 -06:00
Pedro Algarvio
23598fad13 Bump to `pytest-salt-factories[docker]==1.0.0rc16`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-06-02 07:05:09 -06:00
MKLeb
95c7926176 update requirements for pytest-httpserver and fix test_http_query 2022-03-18 09:26:59 -04:00
Pedro Algarvio
92cb1010c7 Upgrade to `pytest-salt-factories==0.912.1`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-02-07 12:16:44 -08:00
Pedro Algarvio
612274a437 Upgrade to `pytest-salt-factories==0.912.0`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-01-25 12:31:22 -08:00
Christian McHugh
a64889ef49
attempt at fixing 25721 on master (#55720)
* master port

* Add `timeout_decorator` as a testing dependency

* Switch to use pytest-timeout instead

* fix pre-commit

* Add changelog

Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
Co-authored-by: Megan Wilhite <megan.wilhite@gmail.com>
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2022-01-16 19:03:25 -08:00
Kirill Ponomarev
306aa6dd29
Update pytest to 6.2.5 for python 3.10 (#61295)
* Update pytest to 6.2.5 for python 3.10

* bump junos-eznc to 2.6.0

* bump setproctitle version and fix integration tests

* Skip tests for python 3.10

* Fix test with py3.10

* bump jinja2 version and dependencies

* Fix test with py3.10

* Skip tests for python 3.10 and new moto version

* Use tempfile library to test perms on directories

* Maintain static requirements changes, revert `requirements/base.txt`

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>

Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
Co-authored-by: Pedro Algarvio <palgarvio@vmware.com>
2021-12-22 09:02:56 -05:00
Pedro Algarvio
78788b4dab
Remove temporary `StateReturnAsserts` class (#60737)
* Pin to ``pip>=20.2.4,<21.2`` on the created virtualenvs

* Use the static requirements when installing salt into the virtualenv

This should fix the freebsd failures

* ``SaltVirtualEnv`` will always use ``USE_STATIC_REQUIREMENTS=1``

* Update to ``pytest-salt-factories==0.907.x``

* Remove the temporary ``StateReturnAsserts`` class.

In the process, a few functions from the ``state`` module are now
wrapped to allow a more pythonic assertion against it's returns through
``StateReturn``.
We also introduce ``MultiStateReturn`` for full state runs.

* Update tests that relied on ``StateReturnAsserts`` or it's pytest helper function
2021-08-16 13:03:57 -04:00
Pedro Algarvio
cc07d99222 Bump to pytest-salt-factories 0.906.x 2021-06-21 06:49:49 -04:00
Pedro Algarvio
aef8fdc3d3 Bump to pytest-salt-factories >= 0.903.x 2021-05-28 14:48:59 -07:00
Pedro Algarvio
89733e6e40 Upgrade pytest-salt-factories to 0.121.1 2021-02-19 10:22:20 +00:00
Pedro Algarvio
a9dfc04a45 Upgrade to pytest-salt-factories==0.121.0 2021-02-18 14:28:23 +00:00
Pedro Algarvio
e47d5b0bd0 Remove runtests.py and it's supporting code 2021-01-29 13:55:52 -05:00
Pedro Algarvio
6477359edb Add pytest-subtests to requirements 2021-01-19 10:00:17 +00:00
Pedro Algarvio
71f1970910 Upgrade to pytest-salt-factories==0.120.2 2021-01-19 10:00:17 +00:00
Pedro Algarvio
9b692446ab Bump to pytest-salt-factories >= 0.120.0 2021-01-07 12:46:36 +00:00
Pedro Algarvio
92a4f378d3 Bump to pytest-salt-factories >= 0.102.0 2021-01-06 11:32:13 +00:00
Pedro Algarvio
5885f9f2da Bump pytest-salt-factories to v0.101.0 2021-01-05 20:32:04 +00:00
Pedro Algarvio
5ed6da2fba Add flaky as a new PyTest tests dependency 2021-01-05 20:32:04 +00:00
Pedro Algarvio
f90de1d81b Bump pytest-salt-factories to version 0.100.0 2021-01-02 10:14:06 +00:00
Pedro Algarvio
5fe01ded48 Bump pytest-salt-factories to 0.99.2 2020-12-26 19:35:17 +00:00
Pedro Algarvio
0a26d54489 Bump pytest-salt-factories to 0.99.0 2020-12-15 22:27:28 +00:00
Pedro Algarvio
d0a39c0cba Bump pytest-salt-factories to 0.98.2 2020-11-30 10:07:31 +00:00
Pedro Algarvio
e48b669f3c Bump pytest-salt-factories to 0.98.1 2020-11-29 13:44:09 +00:00
Pedro Algarvio
93c26f1f84 Bump to pytest 6.2.1 and pytest-salt-factories 0.98.0 2020-11-27 12:56:02 +00:00
Pedro Algarvio
0d03e9f62c
Bump pytest-salt-factories to 0.93.x 2020-09-29 05:57:05 +01:00