Pedro Algarvio
0b2a3367a9
Untangle test/integration/shell/test_cp.py
2020-09-14 11:06:46 +01:00
Pedro Algarvio
00dff15371
Untangle test/integration/shell/test_runner.py
2020-09-14 11:06:38 +01:00
Pedro Algarvio
b536d2dc85
Untangle test/integration/shell/test_proxy.py
2020-09-14 11:03:28 +01:00
Pedro Algarvio
3a510e541d
Migrate proxy tests to PyTest
2020-09-14 11:00:39 +01:00
Pedro Algarvio
ea0482296e
Merge pull request #58446 from s0undt3ch/hotfix/pytest-migration-3
...
[PyTest Migration] Migrate the test valid docs integration test to pytest
2020-09-14 10:50:08 +01:00
Pedro Algarvio
af85e37583
Migrate the test valid docs integration test to pytest
2020-09-14 09:04:31 +01:00
Pedro Algarvio
0aba49c7d3
Bump pytest-salt-factories to 0.92.x
2020-09-14 07:55:09 +01:00
ch3ll
86fc0d8e67
migrate msgpack kwargs tests to pytest
2020-09-08 17:47:44 -07:00
Wayne Werner
319d74685a
Add tests for nilrt_ip._load_config
...
Currently there's an issue where providing non-text default values will
cause bad news. These tests exhibit the bad behavior (and some of the
existing good behavior)
2020-09-08 06:48:32 -07:00
Cédric Bosdonnat
1a10b3afd4
Add change_xml() function to xmlutil
...
In order to ease changing XML trees, add salt.utils.xmlutil.change_xml().
This function allows changing the XML based on a set of rules passed as
argument.
2020-09-04 15:21:54 -07:00
Cédric Bosdonnat
baf0e24308
Add salt.utils.data.get_value function
...
Add a new function to easily extract values from an object. This function
also handles lists of values with placeholders in the path used to
search the value.
2020-09-04 15:21:54 -07:00
Pedro Algarvio
9e785ce9a6
The virt minions should be using the salt master transport
2020-09-03 09:53:50 +01:00
Pedro Algarvio
569a99cf46
Never mix unittest and pytest tests
2020-09-02 12:34:05 +01:00
Pedro Algarvio
d9091b48b8
Import the pytest fixtures on the "main" conftest.py
2020-09-02 12:34:05 +01:00
Pedro Algarvio
9d8745162a
We can't just change module attributes while testing. Use mock.patch.
2020-08-26 18:09:16 +01:00
Pedro Algarvio
abed4a559a
Merge pull request #58267 from s0undt3ch/hotfix/bad-tests-2
...
[PyTest Migration] Use `pytestmark` instead
2020-08-26 08:18:51 +01:00
ch3ll
5281b622e4
use tmpdir pytest fixture
2020-08-25 16:38:25 -07:00
ch3ll
f6d6b9d222
remove encoding kwarg for both pack/unpack msgpack
2020-08-25 16:38:25 -07:00
Pablo Suárez Hernández
01e8c0aaa9
Move remaining mock inside the test function
2020-08-24 15:16:53 -07:00
Pablo Suárez Hernández
afbd67c4d1
Add new unit tests for ansible execution module
2020-08-24 15:16:53 -07:00
Pedro Algarvio
7580b45fa9
Switch virt integration tests to PyTest
2020-08-24 15:09:24 -07:00
Pedro Algarvio
efc9f30084
Move pytest tests to the right path
2020-08-24 07:50:25 +01:00
Jasper Lievisse Adriaanse
c5ea361f6d
add tests for html.escape
2020-08-13 11:14:07 -07:00
Jasper Lievisse Adriaanse
6fa8f8e267
Add initial tests
...
test_highstate_return.py courtesy of @waynew
2020-08-13 11:14:07 -07:00
Pedro Algarvio
50677d6df9
Migrate tests/unit/states/test_alternatives.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
fa1af0f81e
Migrate tests/unit/modules/test_azurearm_dns.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
b001ee5845
Migrate tests/unit/modules/test_archive.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
770a0c0f32
Migrate tests/unit/modules/test_ansiblegate.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
f545836da8
Migrate tests/unit/modules/test_alternatives.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
fc8375ae73
Migrate tests/unit/beacons/test_status.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
169143d34d
Migrate tests/unit/beacons/test_sensehat.py
to PyTest
2020-07-28 07:12:03 -07:00
Pedro Algarvio
ea2729ebe8
Improve wording
2020-05-22 09:17:36 -07:00
Pedro Algarvio
dbdbfbcb01
Better name for the pytest only directory
2020-05-21 23:59:36 -07:00