Commit Graph

7879 Commits

Author SHA1 Message Date
Jeffrey 'jf' Lim
ad1ce91d20 Fix sys.list_returner_functions glob matching (#35255), and also allow it to
do exact matching for function names
2016-08-08 20:16:08 +08:00
Jeffrey 'jf' Lim
225d9ff915 Allow sys.list_runner_functions to do exact matching for function names 2016-08-07 14:16:13 +08:00
Jeffrey 'jf' Lim
3491e5dcfa Allow sys.list_{,state_}functions to do exact matching for function names
Note that this deprecates the matching of sys when provided "sys."
("sys" already works; just use that!).
2016-08-07 14:16:13 +08:00
Mike Place
a0f99144f4 Merge pull request #35254 from jf/revert-test-reinsertions
Revert b00b3c4 (but keep addition to allow_failure list in test_valid…
2016-08-07 07:53:42 +09:00
Mike Place
afe50c7fc8 Fixup VMWare PR
Refs #35099
2016-08-07 07:50:28 +09:00
Mike Place
b778760a30 Merge pull request #35099 from Antillion/salt-cloud-esx_5_5-fixes
Salt cloud esx 5 5 fixes
2016-08-07 07:44:41 +09:00
Mike Place
6e7f907d36 Merge pull request #35179 from rallytime/py3-unit-template-tests
PY3: Fixup jinja template unit tests
2016-08-07 06:48:51 +09:00
Jeff
abb72e478f Revert b00b3c4 (but keep addition to allow_failure list in test_valid_docs()) 2016-08-06 20:10:06 +08:00
Mike Place
74f7fc0fc0 Merge pull request #35186 from terminalmage/py3-tests-integration-loader
Make integration.loader tests PY3-compatible
2016-08-06 17:42:41 +09:00
Mike Place
a2df47e283 Merge pull request #35195 from jf/sys.list_state_modules-exact-matching
exact matching for sys.list_state_modules
2016-08-06 17:36:33 +09:00
rallytime
807c1729ba PY3: Use assertCountEqual instead of assertItemsEqual
assertItemsEqual is deprecated in Python 3 and replaced by assertCountEqual
2016-08-04 15:13:08 -06:00
rallytime
2d5d5fe7f9 Don't try to hash unicode strings in PY3
Avoids: TypeError: Unicode-objects must be encoded before hashing
2016-08-04 15:13:08 -06:00
Jeffrey 'jf' Lim
06c2407f8d (a la #33775) allow for sys.list_state_modules to do exact matching too 2016-08-04 17:26:49 +08:00
Jeffrey 'jf' Lim
176653eded s/list_modules/list_functions in sysmod_test.py 2016-08-04 12:38:45 +08:00
Erik Johnson
9938c4ba0d Make integration.loader.loader tests PY3-compatible
Note that the LazyLoader still doesn't work quite right, the tests still
fail. But, this resolves Python 3 incompatibility issues.
2016-08-03 17:21:31 -05:00
rallytime
c7c9e3b64b PY3: Fixup jinja template unit tests 2016-08-03 12:45:29 -06:00
Mike Place
db68d2cacb Merge pull request #35037 from twangboy/int_tests_sysmod
Fix sysmod integration tests on Windows
2016-08-03 07:59:00 -06:00
Mike Place
99bd7b7e3c Merge pull request #35151 from terminalmage/py3tests-integration-output
Fix integration.output tests for PY3
2016-08-03 07:46:16 -06:00
Oliver Tupman
af0e0ac165 Resolves issue where no image or clonefrom gives image log error, along with a test for it 2016-08-03 12:16:26 +01:00
Jeffrey 'jf' Lim
dd6ebed1d6 Refactor sys.list_functions 2016-08-03 15:15:47 +08:00
twangboy
8626a20942 Add missing docs and cli examples 2016-08-02 17:33:20 -06:00
twangboy
b00b3c4e65 Fix tests 2016-08-02 17:33:20 -06:00
Mike Place
59dbb05db6 Disable init script test temporarily
This will be re-enabled later on.
2016-08-03 07:40:30 +09:00
Mike Place
c69643d4ef Fix error in passing timeout for salt tests 2016-08-03 07:30:09 +09:00
Erik Johnson
5d40ffff01 Use a path that non-root users can write to for output file 2016-08-02 17:25:22 -05:00
rallytime
f76cf617a7 Pylint fix 2016-08-02 14:23:20 -06:00
rallytime
72a116b731 Merge branch '2016.3' into 'develop'
Conflicts:
  - salt/states/pkg.py
2016-08-02 13:05:36 -06:00
Mike Place
9d7c22e1cb Merge pull request #35143 from cachedout/fix_docker_test
Fix docker test
2016-08-02 13:02:52 -06:00
Mike Place
be42f8857f Fix docker test
I think this was originally just a typo
2016-08-03 04:00:33 +09:00
Mike Place
2b7b4eb4ca Fix wheel test
This aligns with the new test layout
2016-08-03 03:53:15 +09:00
Mike Place
b3fa25c2ab Merge pull request #35141 from cachedout/fix_batch_tests
Remove py3 distinction in batch test
2016-08-02 12:39:40 -06:00
Mike Place
324fdd121f Remoe py3 fix/shell/salt.utils.event 2016-08-03 03:38:35 +09:00
Mike Place
49a2292e4c Merge pull request #35140 from cachedout/fix_batch_tests
More liberal matching for batch tests
2016-08-02 12:34:13 -06:00
Mike Place
4df8b32509 More liberal matching for batch tests
Fixes test failures currently in develop
2016-08-03 03:32:03 +09:00
Mike Place
f8a6fb6d68 Merge pull request #35130 from gtmanfred/py3
Py3 tests for unit.utils
2016-08-02 12:24:55 -06:00
Mike Place
69961fb2a5 Merge pull request #35101 from jtand/saltutil_test_fixes
Check return dict on saltutil integration test
2016-08-02 12:07:55 -06:00
Mike Place
f7bfc5dd4a Don't run Windows tests on Linux 2016-08-03 01:53:27 +09:00
Justin Anderson
8517ec9458 accurately check return dict 2016-08-02 10:39:21 -06:00
Justin Anderson
cc036ac907 fix test_wheel_with_kwarg 2016-08-02 10:39:21 -06:00
Mike Place
dd91006ed7 Merge pull request #35120 from kstreee/fix-missing-first-stream-data
The '_handle_event_socket_recv' function in Salt Api is missing first data of stream.
2016-08-02 10:22:50 -06:00
Daniel Wallace
09c5088c3c [PY3] fix warnings_test
maxint is not available in py3.  It was removed, but maxsize can be used
instead.

https://docs.python.org/3.1/whatsnew/3.0.html#integers
2016-08-02 10:25:35 -05:00
Daniel Wallace
445c7a2c20 [PY3] python3ize schema test
thirsty is specified as a boolean

need to copy the top level of kwargs so that the dictionary does not
changes size during the loop.
2016-08-02 10:25:35 -05:00
Daniel Wallace
f5b1769e0b [PY3] bytes for events_test 2016-08-02 10:25:35 -05:00
Dmitry Kuzmenko
b50d85a154 Properly remove minion_test_issue_2731 key. 2016-08-02 14:47:51 +03:00
Mike Place
6994825b3d Merge pull request #35015 from DSRCompany/features/8705_run_and_key_eauth
#8705 run and key eauth
2016-08-02 02:47:27 -06:00
Mike Place
cfc66b848e Merge pull request #35115 from cachedout/fix_state_sync
Sync before state tests
2016-08-02 02:46:50 -06:00
Oliver Tupman
5b9e618103 Fixes minor whitespace and comment issues 2016-08-02 09:35:19 +01:00
Mike Place
2743e01d9b Merge pull request #35116 from rallytime/py3-int-shell-tests
PY3: Fix some string encoding problems in shell integration tests
2016-08-02 02:05:30 -06:00
Mike Place
57e6ea5e51 Merge pull request #35064 from twangboy/int_tests_useradd
Add useradd integration tests for Windows
2016-08-02 01:59:33 -06:00
Mike Place
e058be0c3b Fix typo 2016-08-02 01:45:48 -06:00