Erik Johnson
a2365317f2
Add back test accidentally deleted when cherry-picking
2018-10-23 14:46:05 -05:00
Erik Johnson
eaa4da3d49
Rename providers to clouds to respect naming convention
...
Also, move rackspace openstack-based tests to test_openstack.py
2018-10-23 14:46:05 -05:00
Erik Johnson
85b96de009
Rename some files to avoid them being identified as test modules
2018-10-23 14:41:06 -05:00
Erik Johnson
bfb6015428
Rename/consolidate salt.utils unit tests to conform to naming convention
2018-10-23 14:39:17 -05:00
Erik Johnson
84749dd854
Consolitdate and move salt-ssh unit tests to proper location
2018-10-23 14:33:43 -05:00
Erik Johnson
71825a596e
Consolidate and move loader tests to test/unit/test_loader.py
2018-10-23 14:31:08 -05:00
Erik Johnson
8326a09921
Rename test_map_conf test file to respect naming convention
2018-10-23 14:29:02 -05:00
Erik Johnson
6d9c2eb6b0
Move jinja templating tests alongside salt/utils/jinja.py's tests
2018-10-23 14:28:45 -05:00
Erik Johnson
1ef43a34bd
Add additional paths to the filename map
2018-10-23 14:22:07 -05:00
Erik Johnson
75e6731027
Use the new helper to get the test mods
2018-10-23 14:22:07 -05:00
Erik Johnson
c3dc8ec1d0
Add function to get all of the test modules
2018-10-23 14:22:07 -05:00
Erik Johnson
c5593bc843
Rename custom_grains.py so it's not identified as a test module
2018-10-23 14:22:07 -05:00
Erik Johnson
330c21179a
Consolidate saltclass pillar unit tests into single module
2018-10-23 14:21:48 -05:00
Erik Johnson
a642619fa9
Rename test pgjsonb returner test file to match naming convention
2018-10-23 14:21:48 -05:00
Erik Johnson
6433c48d8c
Don't import old module name
...
We'll handle the old name when backporting
2018-10-23 14:21:21 -05:00
Erik Johnson
a97e0320bf
Move helper outside of for loop
2018-10-23 14:21:21 -05:00
Erik Johnson
3f1b6fd661
Add more unit test mapping
2018-10-23 14:21:21 -05:00
Erik Johnson
ac3406d031
Fill out the filename map a bit
2018-10-23 14:21:21 -05:00
Erik Johnson
07d6f2aca0
Enhancements to --from-filenames, --filename-map options
...
This commit adds the following features:
- Changes to test modules are identified, and those tests are added to
the list of tests to be run
- expr_match is used to allow the filename map to use either globbing or
regular expressions
- Corresponding state tests are added when doing filename matches,
meaning that for example the git state tests will be run when the git
execution module is in the --from-filenames list
2018-10-23 14:21:21 -05:00
Erik Johnson
b851a41ef8
Don't run unit or integration tests unnecessarily
...
If --from-filenames (and optionally --filename-map) yield no matches,
this will keep from running the entire unit/integration suite.
2018-10-23 14:21:21 -05:00
Erik Johnson
569276bedf
Add an initial filename_map
2018-10-23 14:21:21 -05:00
Erik Johnson
44199b1d33
Add --from-filenames and --filename-map options to parser
...
This allows for the passed filename(s) to decide which tests are run
2018-10-23 14:21:21 -05:00
Nicole Thomas
5f904dd5c5
Merge pull request #50174 from rallytime/bp-50146
...
Back-port #50146 to 2018.3
2018-10-23 14:16:44 -04:00
Mike Place
ce341f2424
Merge pull request #50180 from max-arnold/2017.7
...
Revert curly braces example for nested dictionaries
2018-10-23 12:00:56 -06:00
Mike Place
1cd033935e
Merge pull request #50173 from rallytime/bp-50143
...
Back-port #50143 to 2018.3
2018-10-23 11:13:54 -06:00
Daniel Wallace
99ea25371d
Merge pull request #50178 from gtmanfred/pytest-fluorine
...
remove extra imports
2018-10-23 11:29:25 -05:00
Daniel Wallace
209a1d0fa7
remove extra imports
2018-10-23 11:28:54 -05:00
Max Arnold
881a521586
Revert curly braces example for nested dictionaries
2018-10-23 23:25:08 +07:00
Mike Place
ce6e5ed6d4
Merge pull request #50170 from rallytime/bp-win_runas-fix
...
Skip the win_runas util test on non-windows
2018-10-23 08:37:48 -06:00
Michael Lustfield
601a5b83fc
Improve handling of non-ascii characters in terminal output. ( Fixes : #49523 )
2018-10-23 10:32:51 -04:00
m03
f5d6080237
Add test_to_none
2018-10-23 10:30:31 -04:00
m03
c0ce36b918
Fix #50142 , stringutils.to_none
2018-10-23 10:30:28 -04:00
Nicolas Lafont
02e0ea0f99
lint fix
2018-10-23 10:28:35 -04:00
Nicolas Lafont
819c46cb87
fix lint errors and code factorization
2018-10-23 10:28:31 -04:00
Nicolas Lafont
8aa35989ab
Fix lint error
2018-10-23 10:28:27 -04:00
Nicolas Lafont
9092c4e1ee
Adding support for XCP-ng
2018-10-23 10:28:21 -04:00
Nicolas Lafont
c516bc5199
Adding XCP-ng to os family map
2018-10-23 10:28:16 -04:00
rallytime
1040f507cc
Lint fix: add skipIf import and remove unused import
2018-10-23 09:54:02 -04:00
Nicole Thomas
9331f1e920
Merge pull request #50171 from terminalmage/docs
...
Fix invalid RST link in docker_network docs
2018-10-23 09:40:35 -04:00
Nicole Thomas
212a51ec6c
Merge pull request #50160 from rallytime/merge-fluorine
...
[fluorine] Merge forward from 2018.3 to fluorine
2018-10-23 09:33:14 -04:00
Nicole Thomas
16eece35c7
Merge pull request #50161 from rmarcinik/patch-1
...
Add a missing result for task.info
2018-10-23 09:31:42 -04:00
Erik Johnson
7ea1d6cdd3
Fix invalid RST link in docker_network docs
2018-10-23 08:24:24 -05:00
rallytime
a46f9c3dcd
Skip the win_runas util test on non-windows
2018-10-23 09:20:41 -04:00
Daniel Wallace
622bb51464
Merge pull request #50026 from damon-atkins/jenkins_pylint
...
Jenkins CI Lint Improvements
2018-10-22 15:49:15 -05:00
Rigel Marcinik
9848f0692a
Add a missing result for task.info
...
There is a possible value for Last Run Result in the windows task scheduler that is missing from the results dictionary. It raises a confusing KeyError from task.info if the task ends up in this state.
2018-10-22 14:23:20 -05:00
rallytime
b9f61323b5
Merge branch '2018.3' into 'fluorine'
...
No conflicts.
2018-10-22 14:41:20 -04:00
Nicole Thomas
aa66d1b7ba
Merge pull request #50158 from vutny/doc/2017.7/fix-http-tutorial
...
[DOC] Fix JSON payload example in HTTP tutorial
2018-10-22 14:37:51 -04:00
Denys Havrysh
fe2d70d4a3
[DOC] Fix JSON payload example in HTTP tutorial
2018-10-22 18:57:04 +03:00
Nicole Thomas
792a82a32f
Merge pull request #50133 from terminalmage/merge-fluorine
...
Merge 2018.3 branch into fluorine
2018-10-22 11:26:49 -04:00
Mike Place
28bc5e351f
Merge pull request #50136 from terminalmage/debug-logging
...
Add some debug logging before and after states gather pillar data
2018-10-22 08:40:38 -06:00