Bo Maryniuk
5a15c7c5c6
Remove unused variable
2018-01-15 15:34:46 +01:00
Bo Maryniuk
5ca5046822
Refactor and rename tests while function has been renamed
2018-01-15 15:34:46 +01:00
Bo Maryniuk
32e76fe529
Rename function
2018-01-15 15:34:13 +01:00
Bo Maryniuk
844c29f952
Remove dev-bug info code
2018-01-15 15:34:13 +01:00
Bo Maryniuk
2e84d6434d
Lintfix: W1699
2018-01-15 15:34:13 +01:00
Bo Maryniuk
e9b948e942
Lintfix: W0611
2018-01-15 15:34:13 +01:00
Bo Maryniuk
6802593a5a
Lintfix: E8302
2018-01-15 15:34:13 +01:00
Bo Maryniuk
1133e0c35d
Lintfix: W0611
2018-01-15 15:34:13 +01:00
Bo Maryniuk
b3c3b8c679
Lintfix: E0102
2018-01-15 15:34:13 +01:00
Bo Maryniuk
a228ed5ddf
Add unit test to unify result converted to false
2018-01-15 15:34:13 +01:00
Bo Maryniuk
48b9a70901
Fix unit test docstring
2018-01-15 15:33:49 +01:00
Bo Maryniuk
8de1301e2d
Add unit test for result is converted to a True boolean type
2018-01-15 15:33:49 +01:00
Bo Maryniuk
4e9a5b8033
Fix docstrings
2018-01-15 15:33:21 +01:00
Bo Maryniuk
d9b4ac2d6d
Test only comment section conversion
2018-01-15 15:33:21 +01:00
Bo Maryniuk
ac63d35703
Remove leftovers of the old unit test
2018-01-15 15:24:46 +01:00
Bo Maryniuk
e09c21bb8d
Add unit test to unify an output data from the state
2018-01-15 15:24:46 +01:00
Bo Maryniuk
a976d1445e
Add unit test to ensude there is "name", "result" and "comment" in the state output.
2018-01-15 15:24:20 +01:00
Bo Maryniuk
a9ba5a3fe3
Add unit test checking the entire return is of a dictionary type
2018-01-15 15:23:44 +01:00
Bo Maryniuk
014167c640
Add unit test for checking policy so the "changes" keyword contains a dictionary type
2018-01-15 15:23:08 +01:00
Bo Maryniuk
5902633b3f
Remove obsolete unit test code
2018-01-15 15:21:19 +01:00
Bo Maryniuk
fa96d8c528
Use PyTest in tests
2018-01-15 15:20:51 +01:00
Bo Maryniuk
e60ccae11b
Reference decorators from moved place
2018-01-15 15:20:51 +01:00
Bo Maryniuk
98c98a7139
Move state decorators to utils.decorators.state
2018-01-15 15:20:51 +01:00
Bo Maryniuk
408b43d670
Remove obsolete, reimplemented code.
2018-01-15 15:20:50 +01:00
Bo Maryniuk
2d7b7acc4a
Use output checking and optimizing entirely for the whole call, instead of injecting at convenient places
2018-01-15 15:20:50 +01:00
Bo Maryniuk
1cc63ad995
Add state output checking policies decorator
2018-01-15 15:20:50 +01:00
Bo Maryniuk
140750acfe
Add state output unification decorator
2018-01-15 15:20:50 +01:00
Bo Maryniuk
0949c39271
Add unit test for _get_pillar_errors when external pillar has errors and internal is clean
2018-01-15 15:20:50 +01:00
Bo Maryniuk
6ed4262589
Add unit test for _get_pillar_errors when external and internal pillars are clean
2018-01-15 15:20:50 +01:00
Nicole Thomas
5fd9dba2ee
Merge pull request #45296 from terminalmage/py3-cache-cli
...
[PY3] Add unicode_literals to cache and cli modules
2018-01-15 08:47:51 -05:00
Bo Maryniuk
59df24fc02
Docs update
2018-01-15 14:31:25 +01:00
Bo Maryniuk
b1bd992b1e
Add more doc fixes
2018-01-15 14:31:25 +01:00
Bo Maryniuk
6199131d9e
Lintfix W0611
2018-01-15 14:31:25 +01:00
Bo Maryniuk
5cc6daae09
Fix doc typos
2018-01-15 14:31:25 +01:00
Bo Maryniuk
308b6e8adf
Remove unused definitions until configcheck is implemented
2018-01-15 14:31:25 +01:00
Bo Maryniuk
b1b48f89db
Update autodiscovery documentation
2018-01-15 14:31:25 +01:00
Bo Maryniuk
1482c2f912
Switch to the default settings of the discovery without running it by default
2018-01-15 14:31:25 +01:00
Bo Maryniuk
10c2448982
Implement default settings for the discovery
2018-01-15 14:30:01 +01:00
Bo Maryniuk
2f21fbe64f
Remove unused import
2018-01-15 14:30:01 +01:00
Bo Maryniuk
e72f37b671
Turn discovery OFF by default
2018-01-15 14:30:01 +01:00
Bo Maryniuk
15d6a1f92f
Remove unused imports
2018-01-15 14:30:01 +01:00
Nicole Thomas
53b25752a4
Merge branch 'oxygen' into py3-cache-cli
2018-01-14 16:35:59 -05:00
Matt Phillips
97ba45c423
add __context__ to salt-runner for passthrough
...
minion modules are provided a __context__ to indicate success/failure outside
the contents of their response. runners also are provided this, so we pass it
down.
2018-01-14 08:35:15 -05:00
Mircea Ulinic
6816e4f290
Document the utils refactor
2018-01-14 08:31:16 -05:00
Nicole Thomas
c00fddd5bb
Merge pull request #45357 from twangboy/win_fix_test_file
...
Fix `unit.modules.test_file` for Windows
2018-01-14 08:14:24 -05:00
Nicole Thomas
e8e82f2f7f
Merge pull request #45429 from terminalmage/py3-salt.utils-r-s
...
[PY3] Add unicode_literals to salt.utils modules (R-S)
2018-01-14 08:06:51 -05:00
Nicole Thomas
80f6815c11
Merge pull request #45439 from terminalmage/py3-salt.utils-w-z
...
[PY3] Add unicode_literals to salt.utils modules (W-Z)
2018-01-14 08:02:22 -05:00
Nicole Thomas
78ce60e4d4
Merge pull request #44977 from terminalmage/remove-more-explicit-unicode-literals
...
Remove more unnecessary explicit unicode literals
2018-01-14 07:55:29 -05:00
Nicole Thomas
b90e7aedde
Merge pull request #45440 from terminalmage/py3-a
...
[PY3] Add unicode_literals to states/modules (A)
2018-01-14 07:52:02 -05:00
Nicole Thomas
4d03162227
Merge pull request #45396 from rallytime/merge-oxygen
...
[oxygen] Merge forward from 2017.7 to oxygen
2018-01-14 07:44:37 -05:00