Commit graph

46 commits

Author SHA1 Message Date
Pedro Algarvio
4d49013247 Update to isort 5.10.1
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-08-01 12:49:16 -06:00
Daniel A. Wozniak
d9b50659b2 Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
Pedro Algarvio
75e9655d10 Replace @slowTest with @pytest.mark.slow_test 2021-02-03 06:30:11 +00:00
Pedro Algarvio
aa4679eaed Drop Py2 and six on tests/integration/sdb/test_env.py 2021-02-01 11:21:01 +00:00
Pedro Algarvio
57ee6875c8 Migrate the sdb vault tests to PyTest 2020-12-03 15:38:00 +00:00
Pedro Algarvio
2be33aafd5 Migrate the SDB etcd DB integration tests to PyTest 2020-12-03 15:38:00 +00:00
Megan Wilhite
0018476fe7 Remove flaky decorator 2020-10-08 07:20:47 -07:00
Megan Wilhite
c804d542a1 Run pre-commit 2020-10-08 07:20:47 -07:00
Gareth J. Greenaway
9b69d2683c Rename test_etcd.py to test_etcd_db.py 2020-10-08 07:20:47 -07:00
Gareth J. Greenaway
013adbe18f Adding tests for etcd SDB changes. 2020-10-08 07:20:47 -07:00
Christian McHugh
f009241137 pre-commit tests 2020-09-30 13:25:06 -07:00
Christian McHugh
535653c896 black updates 2020-09-30 13:25:06 -07:00
Christian McHugh
1b50588a88 improve test setup 2020-09-30 13:25:06 -07:00
Christian McHugh
be2577e3a2 fix test setup 2020-09-30 13:25:06 -07:00
Christian McHugh
5da6eea371 Fix uses decrement and add local sdb check on kv v2 2020-09-30 13:25:06 -07:00
Pedro Algarvio
2209c25bf9 Add --run-slow flag to runtests.py 2020-05-07 13:09:02 -07:00
Daniel Wozniak
c3ad17f051
Merge pull request #56809 from joechainz/master-port-53862
Cleanup vault test
2020-04-22 00:35:34 -07:00
Pedro Algarvio
a3d071c152 Cleanup vault test 2020-04-21 14:18:31 -06:00
Wayne Werner
332f129e90
Skip slowest tests 2020-04-21 11:23:32 -05:00
Pedro Algarvio
6ba04cc7da
Add windows test whitelisting as pytest markers
Taken out from the pytest migration PR
2020-04-16 16:57:59 +01:00
Christian McHugh
13ac722a87 Merge branch 'master' into 54039-master 2020-04-07 18:05:11 +01:00
Blacken Salt
0b2a5613b3
Blacken salt 2020-04-03 13:05:41 -05:00
Christian McHugh
4051a82a58 track proper test class 2020-01-15 22:25:01 +00:00
Christian McHugh
f780d2d6e0 fix sdb tests 2020-01-14 22:20:48 +00:00
Pedro Algarvio
ac0db895ab
Prefer RUNTIME_VARS usage 2019-12-03 15:22:34 +00:00
Gareth J. Greenaway
931ec6154a
Fixing test_vault for python3. 2018-10-15 12:07:56 -07:00
Gareth J. Greenaway
90adb38b5d
Updating the integration.sdb.test_vault setup function to attempt to recreate the container if the login test fails. 2018-10-15 12:07:56 -07:00
Daniel Wallace
c7288a38b2
skip tests is vault fails to start 2018-08-24 13:54:27 -04:00
Daniel Wallace
aff7bf7c05
only start vault docker container once 2018-08-24 13:54:20 -04:00
Daniel Wallace
6fadaba58e
fix vault tests 2018-08-24 13:52:18 -04:00
rallytime
7b8e64cc4c
[develop] Fix up new lint failures 2018-07-23 10:06:52 -04:00
Daniel Wallace
70c57e61b7
mark vault tests as flaky
The first couple commands to vault seem to be failing sometimes, but
after that this all works.
2018-07-17 16:30:37 -05:00
Daniel Wallace
962b3612b0
fix sdb test for vault 2018-07-17 13:04:04 -05:00
Daniel Wallace
f8997da280
don't include sdb:// in master/minion configs 2018-07-16 17:07:44 -05:00
Daniel Wallace
3e0a66ca95
add sdb config option 2018-07-16 16:48:51 -05:00
Daniel Wallace
a7671a1603
add sdb tests for vault 2018-07-16 16:12:12 -05:00
Erik Johnson
6f979773b8
[PY3] Add unicode_literals to sdb and serializers
NOTE: the other serializers were done in a previous commit.
2017-12-28 13:18:00 -06:00
rallytime
ccf790a83f Update all references for moved functions to use "files" util
- fopen
- flopen
- fpopen
- safe_rm
- is_empty
- is_fcntl_available
2017-07-18 10:31:01 -06:00
Pedro Algarvio
61003bca0a
Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
Pedro Algarvio
2ee6d5d589
Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
Pedro Algarvio
785698d2ce
Import for the original module 2017-04-04 18:04:38 +01:00
Pedro Algarvio
8031ac0209
Move mixins to tests.support.mixins.
The adapted config mixin get config methods are not static methods
2017-04-04 17:29:34 +01:00
Pedro Algarvio
40a64191a1
Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
Pedro Algarvio
3beb3fb801
Move whatever we need from salttesting to salt.
Let's drop the salttesting dependency cycle.
2017-02-28 22:52:49 +00:00
Pedro Algarvio
15af4c9728
Test filenames conformity. Adjust for pytest. 2017-02-23 23:19:42 +00:00
Aditya Kulkarni
5cae7e5b1f Add SDB module for environment variables 2016-05-25 17:18:35 -04:00