Mike Place
62abac6fbc
Merge pull request #42396 from rallytime/parse_docstring_util
...
Move parse_docstring from salt.utils to salt.utils.doc.py
2017-07-25 16:04:00 -05:00
Erik Johnson
2fb986f5ca
Merge pull request #42367 from rallytime/files-util
...
Move file-related utilities out of init file and into salt.utils.files.py
2017-07-19 16:55:52 -05:00
rallytime
60d80fc06c
Move parse_docstring from salt.utils to salt.utils.doc.py
...
- Moves function to new location in salt.utils.doc.py
- Adds deprecation warning to salt.utils.parse_docstring
- Moves related unit test in test_utils.py to new test_doc.py file
2017-07-19 12:06:55 -06:00
rallytime
0f5dd79aa0
Lint fixes
2017-07-18 12:46:15 -06:00
rallytime
ccf790a83f
Update all references for moved functions to use "files" util
...
- fopen
- flopen
- fpopen
- safe_rm
- is_empty
- is_fcntl_available
2017-07-18 10:31:01 -06:00
rallytime
f59ecb7ffe
Merge branch '2017.7' into 'develop'
...
Conflicts:
- salt/executors/sudo.py
2017-07-18 08:57:55 -06:00
rallytime
8b35b367b3
Merge branch '2016.11' into '2017.7'
...
Conflicts:
- salt/modules/win_pkg.py
- salt/states/dockerng.py
2017-07-05 09:14:30 -06:00
Erik Johnson
26f848e111
Mock socket.getaddrinfo in unit.utils.network_test.NetworkTestCase.test_host_to_ips
...
This will keep future IP address changes from impacting this test. It
also tests a host which returns an IPv6 address, and a host which cannot
be resolved.
2017-06-29 14:49:39 -05:00
Erik Johnson
9a50e7c1ca
Merge remote-tracking branch 'upstream/2017.7' into merge-develop
2017-06-28 22:10:50 -05:00
Erik Johnson
f13ddeb394
Merge remote-tracking branch 'upstream/2016.11' into merge-2017.7
...
Conflicts:
- doc/_themes/saltstack2/layout.html
- salt/auth/__init__.py
- salt/utils/schedule.py
2017-06-28 20:27:32 -05:00
Erik Johnson
fb6a93314f
Update IP address for unit.utils.network_test.NetworkTestCase.test_host_to_ips
...
The IP for saltstack.com changed, so this test needs to be updated.
2017-06-28 19:42:52 -05:00
rallytime
e512a29f08
Merge branch '2017.7' into 'develop'
...
Conflicts:
- salt/modules/state.py
- salt/modules/yumpkg.py
- salt/modules/zypper.py
- salt/states/pkg.py
- salt/version.py
- tests/unit/config/test_config.py
- tests/unit/modules/test_zypper.py
2017-06-28 11:31:53 -06:00
Dmitry Kuzmenko
596ab0421d
Py3: pass Exception to side effect friendly for both mock<1.1 and mock>=1.1
2017-06-21 12:46:46 +03:00
Dmitry Kuzmenko
c25ebe3a6e
Py3: fix test for Py34. Fixed the etcd util error case handling.
2017-06-20 21:47:51 +03:00
Ed Pelc
a536111b83
add tests for single docker log_config option fix
2017-06-16 14:57:17 -06:00
Ed Pelc
7480bab798
add tests for single docker log_config option fix
2017-06-16 13:05:01 -04:00
rallytime
7fef4cf38f
Merge branch '2017.7' into 'develop'
...
Conflicts:
- salt/engines/slack.py
2017-06-15 10:57:27 -06:00
rallytime
16a2747d7d
Merge branch '2016.11' into '2017.7'
...
Conflicts:
- pkg/windows/buildenv/salt.bat
- salt/modules/pillar.py
- salt/utils/openstack/nova.py
- tests/unit/cloud/clouds/test_dimensiondata.py
- tests/unit/cloud/clouds/test_gce.py
2017-06-14 13:31:42 -06:00
Loren Gordon
6e35673fe3
Preserves order when removing duplicates
2017-06-13 17:45:08 -04:00
Loren Gordon
18eda7084c
Updates list merge tests to check for sorted, unique lists
2017-06-13 17:45:08 -04:00
rallytime
57166fd892
Merge branch 'nitrogen' into 'develop'
...
No conflicts.
2017-05-24 15:30:44 -06:00
rallytime
616ac7289b
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/config/__init__.py
- salt/modules/elasticsearch.py
- tests/integration/__init__.py
2017-05-23 10:36:41 -06:00
rallytime
718b0adc70
Merge branch 'nitrogen' into 'develop'
...
Conflicts:
- salt/modules/zypper.py
- tests/unit/utils/test_network.py
2017-05-23 09:05:13 -06:00
Mike Place
1ba95684a9
Merge pull request #41113 from cro/proxy_auto_test2
...
Rescue proxy_auto_tests PR from git rebase hell
2017-05-22 12:05:07 -05:00
rallytime
c6c1d30c48
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/modules/yumpkg.py
- salt/spm/__init__.py
- tests/unit/modules/test_zypper.py
- tests/unit/utils/test_network.py
2017-05-20 17:07:34 -06:00
Bo Maryniuk
5f01e748e0
Fix Lint
2017-05-17 08:42:38 +02:00
Bo Maryniuk
2a60eae826
Add unit test for hostname can be started from 127
2017-05-16 16:21:31 +02:00
Bo Maryniuk
5168ef8959
Add unit test for hostname can be started from 127
2017-05-16 16:18:14 +02:00
Bo Maryniuk
1b28c67047
Add unit test for utilising host name as "127"
2017-05-16 12:17:13 +02:00
Bo Maryniuk
d9c8324a6b
Unit test for accepting hosts names as 127
2017-05-16 12:07:32 +02:00
C. R. Oldham
19db038b99
Fix test--use proxy_config instead of minion_config
2017-05-12 14:01:54 -06:00
rallytime
f875ee3309
Merge branch 'nitrogen' into 'develop'
...
Conflicts:
- tests/integration/runners/test_runner_returns.py
2017-04-28 09:26:26 -06:00
Pedro Algarvio
d65742c066
Delete attributes
2017-04-28 13:36:44 +01:00
Pedro Algarvio
abe608d739
Drop @patch
usage
2017-04-28 13:36:42 +01:00
Pedro Algarvio
3bf84e2a4e
Rename classes in order not to be collected up by pytest
2017-04-28 13:33:34 +01:00
Pedro Algarvio
1d8f02f635
Drop @patch
usage. Py3 Compat.
2017-04-28 13:33:32 +01:00
Nicole Thomas
b735b8f574
Merge pull request #40603 from kiorky/fix40602
...
Fix #40602 : onfail_stop: test loop order is broken
2017-04-12 10:06:55 -06:00
Mike Place
5c2be60d7b
Space for lint
2017-04-11 16:46:38 -06:00
Ronald van Zantvoort
24adf57814
DNS2: pylint fixes
2017-04-11 14:52:16 +02:00
Ronald van Zantvoort
4e573a93e6
DNS2: Add some docs
2017-04-11 13:17:51 +02:00
Ronald van Zantvoort
fba643a64f
DNS2: Add nslookup tests
2017-04-11 13:11:35 +02:00
Ronald van Zantvoort
8e37eab1cb
DNS2: Raise ValueError on wrong DNS type plus testing
2017-04-11 11:03:19 +02:00
Ronald van Zantvoort
f9d3fbb379
DNS2: Re-add DNSSEC test, add tests for host
2017-04-11 09:02:53 +02:00
Mathieu Le Marec - Pasquet
80d9482248
Fix #40602 : onfail_stop: test loop order is broken
2017-04-10 10:22:03 +02:00
Ronald van Zantvoort
9dff676f8f
DNS2: bugfixes, cleanup, drill tests
2017-04-06 10:13:01 +02:00
Ronald van Zantvoort
e3239d90cf
DNS2: dig lookup testing
2017-04-06 10:13:00 +02:00
Ronald van Zantvoort
a30dd2ed0c
DNS2: Add tests for getaddrinfo()
2017-04-06 10:13:00 +02:00
Ronald van Zantvoort
5a77b2520f
DNS2: Add first batch of unit tests
2017-04-06 10:13:00 +02:00
Nicole Thomas
4d7871e4d7
Merge pull request #40494 from rallytime/merge-develop
...
[develop] Merge forward from 2016.11 to develop
2017-04-05 14:15:05 -06:00
Pedro Algarvio
7b713d9256
Use the more portable helper skip_if_not_root
.
2017-04-04 18:58:21 +01:00