rallytime
86a5e04417
Pylint fix
2016-08-08 09:53:29 -06:00
rallytime
f42ca4b576
PY3: Don't use contextlib.nested - it is deprecated.
...
contextlib.nested is deprecated in Python 3. Instead of having two
different ways of handling nested (PY2) vs ExitStacks (PY3), just use
nested with statements for both.
2016-08-03 14:49:24 -06:00
Jeffrey 'jf' Lim
dd6ebed1d6
Refactor sys.list_functions
2016-08-03 15:15:47 +08:00
rallytime
72a116b731
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/states/pkg.py
2016-08-02 13:05:36 -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
f8a6fb6d68
Merge pull request #35130 from gtmanfred/py3
...
Py3 tests for unit.utils
2016-08-02 12:24:55 -06:00
Mike Place
f7bfc5dd4a
Don't run Windows tests on Linux
2016-08-03 01:53:27 +09: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
kstreee
28f793caac
Fix missing first data in stream when subscribing stream using a function 'read_async'.
2016-08-02 07:37:25 +00:00
Jeffrey 'jf' Lim
fe87097abd
Round out (unit) test cases for sys.list_{functions,modules}
2016-08-02 12:32:54 +08:00
Jeffrey 'jf' Lim
75816fed93
Address linter issues for tests/unit/states/sysmod.py
...
("Exactly one space required after comma")
2016-08-02 12:09:57 +08:00
Jeffrey 'jf' Lim
84a2512605
Throw in "sys." to the unit test for sys.list_functions too
...
(source: integration test for sys.list_functions)
2016-08-02 12:08:45 +08:00
Jeffrey 'jf' Lim
9df1c9933e
Unit tests in place of integration tests for sys.list_{functions,modules}
...
NOTE that while I modify test_doc(), this is in order to make it pass.
test_doc() should not be seen as a proper test. Please do a better mock!
2016-08-02 12:08:45 +08:00
Mike Place
f1fbdf12de
Merge pull request #35113 from kraney/boto_iot_thing_types
...
Support for aws iot 'thing type'
2016-08-01 18:33:06 -06:00
Winston Liu
ef97c3f474
added unit tests for thing type present/absent states for boto_iot state functions.
2016-08-01 15:23:51 -07:00
Winston Liu
56b41a5f07
additional unit test to cover newly introduce operations on thing type in boto_iot.
2016-08-01 14:46:56 -07:00
rallytime
a2fbbebe86
Merge branch '2016.3' into 'develop'
...
Conflicts:
- salt/master.py
- salt/modules/saltutil.py
- salt/states/saltmod.py
2016-08-01 13:42:36 -06:00
Mike Place
8fc2c672eb
Merge pull request #35034 from thor/feature/tomcat-version-care
...
Fixing the Tomcat state's indifference to a lack of versions and incorrect file paths
2016-08-01 11:36:48 -06:00
Mike Place
98aad37cd6
Merge pull request #35095 from eradman/localemod
...
Properly mock localemod unit tests
2016-08-01 11:26:21 -06:00
Mike Place
3c58b0237d
Merge pull request #35049 from terminalmage/zd868
...
Fire events for orchestration jobs containing the passed arguments
2016-08-01 11:07:04 -06:00
Eric Radman
80f8b87ce3
Properly mock localemod unit tests
...
locale_gentoo* unit tests only pass on Linux systems because the
localedef is in the search path.
2016-08-01 11:26:13 -04:00
Mike Place
d137c4b986
Merge pull request #34955 from lubyou/fix-dism-on-non-english-systems
...
force dism to always output english text
2016-08-01 06:54:03 -06:00
Erik Johnson
bd4d1d31a0
Add nodegroup_comp unit tests
2016-07-29 19:28:52 -05:00
Erik Johnson
e32644f275
Update state unit tests to use new orchestration_jid param
2016-07-29 12:17:59 -05:00
Mike Place
4fe3397a41
Merge pull request #34921 from tonybaloney/quickstart
...
Introduce a template system for extending SaltStack open
2016-07-28 22:38:10 -06:00
Thor K. H
7f6942ec7f
Fixing coding style and change w/o updated test
...
Fixed testing for tomcat.wait, as well as updating style. Should resolve
any test errors isolated to the module and/or state.
2016-07-28 21:24:52 +02:00
Thor K. H
bb38055ae4
Initial work on adapting Tomcat to care correctly
...
Ensure that lack of version does not result in blank version being used,
as to avoid certain Java EE applications from having issues with paths
when parallell execution is not "supported".
This fixes #24990 by both not adding a blank version if there is no
version to exract, but also by allowing you to overwrite that there
should be *no* version whether or not your WAR-file ends with `-1.2.3`.
Tests added for specifically dealing with no-to-version scenarios,
as well as several minor documentation tweaks that hopefully aren't too
interruptive!
2016-07-28 20:02:57 +02:00
rallytime
65f9365ee0
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-07-28 11:05:54 -06:00
Eric Radman
42222b06fe
Remove stray debug print statements ( #35019 )
...
This cleans up the unit test output a bit, mostly leaving deprecation warnings.
2016-07-28 09:17:27 -06:00
Anthony Shaw
87954a2baf
add newline to test
2016-07-28 12:44:01 +10:00
Anthony Shaw
bc528eb4d0
completed test to check files, names and contents
2016-07-28 11:52:16 +10:00
Anthony Shaw
b7257baade
add test class
2016-07-28 11:41:15 +10:00
Nicole Thomas
b089db6f21
Fix pylint of develop ( #35002 )
2016-07-27 15:18:29 -06:00
rallytime
35696ad637
Pylint fix
2016-07-27 15:12:41 -06:00
Mike Place
f9fd6ddd8a
Fixup #33875
2016-07-27 13:25:59 -06:00
Eu
56b1f6c651
Fix naive fileserver map diff algorithm
...
Naively comparing sorted dict keys does not guarantee that maps are equal. We
must compare mtimes for filenames in case keys are the same to make sure there
isnt a modified file.
2016-07-27 13:24:19 -06:00
Mike Place
48aa151fa6
Fixup #33875
2016-07-27 13:17:57 -06:00
Mike Place
7956dbe568
Merge pull request #33875 from sangoma/correct_map_diff
...
Fix naive fileserver map diff algorithm
2016-07-27 13:14:49 -06:00
Mike Place
aae430d8c1
Merge pull request #34977 from terminalmage/zd868
...
Add jid to return from runner/wheel funcs executed within orchestration
2016-07-27 13:10:57 -06:00
Erik Johnson
c3f9e13fbe
Update unit tests to reflect new behavior of WheelClient/RunnerClient
2016-07-27 13:01:24 -05:00
Mike Place
1067c17095
Merge pull request #34826 from rallytime/unit-module-py3-tests
...
Python 3 compatibility fixes (execution module unit tests)
2016-07-27 11:24:00 -06:00
Mike Place
55bb3d09ab
Merge pull request #34919 from tonybaloney/libcloud_dns_states
...
Add a new state module for managing DNS records and zones through Libcloud
2016-07-26 11:51:08 -06:00
Johannes Scholz
775ea73578
fix unit tests
2016-07-26 19:46:14 +02:00
Anthony Shaw
6c08afd62b
GCE Cloud tests ( #34871 )
...
* add test module
* modify GCE tests to remove mocks
* use certifi, libcloud has also patched the SuSE/Mac cert issues
* skip cert checking
* validate the __virtual__ and import process
* fix munged merge
* fixed lint errors and failing test
* fix dimensiondata tests in the same way whilst I'm here
2016-07-26 09:24:20 -06:00
Anthony Shaw
ff60aec050
fix munged merge
2016-07-25 15:58:45 +10:00
Anthony Shaw
a3e37cc2d0
Merge branch 'develop' of github.com:saltstack/salt into develop
2016-07-24 20:08:47 +10:00
Anthony Shaw
8df4c35f5c
zone absent with tests
2016-07-24 19:48:11 +10:00