Commit Graph

89688 Commits

Author SHA1 Message Date
Bo Maryniuk
dbe7c01ed6 Update integration test: docs, add more checks, rename 2018-01-16 18:13:00 +01:00
Bo Maryniuk
9356c3ea62 Use output unifier decorator 2018-01-16 18:04:28 +01:00
Bo Maryniuk
88c51fd6f1 Move all separate decorators into a compound decorator 2018-01-16 18:04:15 +01:00
Bo Maryniuk
0bb542f641 Do not use chain decorators 2018-01-16 18:03:56 +01:00
Bo Maryniuk
0baddd675a Bailout if a state function returns anything but dictionary type 2018-01-16 18:02:33 +01:00
Bo Maryniuk
9df156ed7c Fix lint for PEP8 spacing 2018-01-16 18:01:54 +01:00
Bo Maryniuk
d0c54f43cc Git rebase spaghetti fix 2018-01-15 15:36:06 +01:00
Bo Maryniuk
27667eea40 Fix a broken line 2018-01-15 15:34:46 +01:00
Bo Maryniuk
f0d5dc50f8 Remove unused call, replaced by a decorator 2018-01-15 15:34:46 +01:00
Bo Maryniuk
40a18d1119 Use unicode literals 2018-01-15 15:34:46 +01:00
Bo Maryniuk
f122cc6407 Remove unused variables and reorder comments 2018-01-15 15:34:46 +01:00
Bo Maryniuk
58f1303d48 Remove empty lines 2018-01-15 15:34:46 +01:00
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
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
Erik Johnson
ce6fccde9c
[PY3] Add unicode_literals to states/modules (A) 2018-01-14 01:31:52 -06:00
Erik Johnson
54f9785e6c
[PY3] Add unicode_literals to salt.utils modules (R-S) 2018-01-13 21:14:09 -06:00
Erik Johnson
b89efc16eb
Remove more unnecessary explicit unicode literals 2018-01-13 21:10:04 -06:00