Commit Graph

9574 Commits

Author SHA1 Message Date
twangboy
8c30dbdb02
Add priv info to error message 2019-06-11 17:48:25 -06:00
twangboy
a7d41a85a7
Make them non-destructive tests 2019-06-11 13:45:41 -06:00
twangboy
d8bede07df
Remove duplicate test 2019-06-11 13:45:41 -06:00
twangboy
89aaf2edbc
Remove duplicate test 2019-06-11 13:45:40 -06:00
twangboy
184ec4a2c2
Skip test on linux 2019-06-11 13:45:40 -06:00
twangboy
c97ea995a8
Mark it a destructive test 2019-06-11 13:45:40 -06:00
twangboy
9da7090907
Fix failing symlink test 2019-06-11 13:45:40 -06:00
Akmod
dfb62779c6
Cherry-picked file-stat commit (#53430) 2019-06-10 15:32:26 -06:00
Akmod
477cd20cd4
Check dir_mode recursively in file.directory (#53385)
* Created a test case

* Fix states.file checking directory permissions recursively

A change was introduced in 79f6b426ff (PR #50653) to check the file
mode recursively. This change introduced a variable shadow that
caused directory permission checking to fail.

* Rename mode variable to dir_mode for clarity

* Revert "Created a test case"

This reverts commit 26fd01aa9382027415883e79c133b168a9a57cb3.

* Re-added test case without irrelevant cosmetic code changes

* Send string instead of integer - normalize values before comparison
2019-06-06 17:11:00 -06:00
cmcmarrow
f93e7d34c7
stops pylint E1120 from showing 2019-05-31 17:54:51 +00:00
cmcmarrow
cbe6423a11
stops pylint E1120 from showing 2019-05-31 17:30:52 +00:00
cmcmarrow
c5a5d43619
test_kubernetes_lint_failures_silenced 2019-05-28 22:40:59 +00:00
cmcmarrow
b8383956d4
test_kubernetes_lint_failures_silenced 2019-05-28 22:35:10 +00:00
cmcmarrow
997d0a814d
stops pylint E1120 from showing 2019-05-28 21:36:19 +00:00
twangboy
758d020c08
Skip test on Windows 2019-05-22 16:54:23 -06:00
Megan Wilhite
16ef3d2093
Merge branch '2019.2.1' into shadow_fed_fix 2019-05-21 15:27:26 -04:00
Megan Wilhite
85e9b2f067
Merge pull request #53073 from Ch3LL/ssh_py3_log
salt-ssh: python binary exists before version check
2019-05-20 18:36:33 -04:00
Ch3LL
09ff8679b9
Check for all non-word when calling secure_password 2019-05-20 18:10:19 -04:00
Gareth J. Greenaway
5f6581a228
Merge branch '2019.2.1' into yaml_flow_style 2019-05-16 12:42:14 -07:00
Ch3LL
383e781be8
Improve logging in salt-ssh gen_thin 2019-05-16 11:38:28 -04:00
Ch3LL
43714342d4
salt-ssh: python binary exists before version check 2019-05-16 11:22:27 -04:00
Gareth J. Greenaway
cea7131cf1
Removing global declaration. 2019-05-14 17:48:05 -07:00
Gareth J. Greenaway
5bf9a95267
Fixing lint. 2019-05-10 16:36:41 -07:00
Gareth J. Greenaway
4d3c46d193
fixing broken unit.modules.test_telegram test. 2019-05-10 16:21:07 -07:00
Megan Wilhite
9a27fb3f96
Merge branch '2019.2.1' into yaml_flow_style 2019-05-10 14:54:33 -04:00
Ch3LL
0d0e354627
Fix yamldumper test for both py2/py3 2019-05-10 14:52:58 -04:00
Shane Lee
ac27e6970f
Merge branch '2019.2.1' into fix_test_file 2019-05-09 14:34:14 -06:00
Ch3LL
20bc954483
Update docs for yamldumper test 2019-05-09 15:42:52 -04:00
Megan Wilhite
bf648e57a8
Update tests/unit/utils/test_yamldumper.py
Co-Authored-By: Wayne Werner <waynejwerner@gmail.com>
2019-05-09 15:39:12 -04:00
Ch3LL
70d578a1af
Set default_flow_style=None in yaml.dump calls 2019-05-09 15:18:32 -04:00
Daniel Wozniak
4437764891
Merge pull request #52943 from Ch3LL/fix_elastisearch
Fix elasticsearch state module: allow user to define empty aliases
2019-05-09 08:46:37 -07:00
Pedro Algarvio
77185af841
Partial revert since this is a class method 2019-05-09 14:41:43 +01:00
Pedro Algarvio
f5c5771dd9
Lint fixes 2019-05-09 14:40:17 +01:00
Pedro Algarvio
8e505fb91a
Move tests to existing test modules 2019-05-09 14:20:23 +01:00
Pedro Algarvio
46816092eb
tests/unit/config/__init__.py -> tests/unit/config/test_config.py
No top level `__init__.py` should contain tests
2019-05-09 14:19:56 +01:00
Pedro Algarvio
da2e147e54
Always cleanup the changed environ 2019-05-09 14:13:32 +01:00
Pedro Algarvio
087c74d907
No globals in tests, specially dictionaries! 2019-05-09 14:11:12 +01:00
Megan Wilhite
451fb7e60f
Merge branch '2019.2.1' into fix_elastisearch 2019-05-08 16:15:41 -04:00
Ch3LL
ebff9b94e0
Fix elasticsearch state module: allow user to define empty aliases 2019-05-08 15:50:35 -04:00
Pedro Algarvio
e9f6a1228d
identical_signature_wrapper adds __wrapped__ to function globals 2019-05-08 13:16:51 +01:00
Daniel A. Wozniak
3709ed745e
msgpack returns string_types 2019-05-08 13:16:51 +01:00
Daniel A. Wozniak
a36b15e449
Add regression test 2019-05-08 13:16:51 +01:00
Daniel A. Wozniak
4d6b8da5a0
Fix linter 2019-05-08 13:16:50 +01:00
Daniel A. Wozniak
759bccc202
Fix test_doc on windows by using grep yay! 2019-05-08 13:16:49 +01:00
Daniel A. Wozniak
b0aa28760c
Fix missing class wart 2019-05-08 13:16:49 +01:00
Daniel A. Wozniak
21ecb742db
fix linter 2019-05-08 13:16:49 +01:00
Daniel A. Wozniak
62c0f9fdd9
Skip tests when no libcloud 2019-05-08 13:16:48 +01:00
Daniel A. Wozniak
1d92290304
Fix unused import 2019-05-08 13:16:48 +01:00
Daniel A. Wozniak
238fd0f071
Fix broken pip state 2019-05-08 13:16:48 +01:00
Daniel A. Wozniak
1eea9908e9
Fix linter 2019-05-08 13:16:47 +01:00