rallytime
87341ed30b
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-09-12 09:42:26 -06:00
Mike Place
5ddf0af23e
Merge pull request #36166 from jfindlay/parallels
...
modules.parallels.delete: allow multiple IDs for same name
2016-09-12 08:00:56 +09:00
mwinnett
b9a98f551e
Add win_pki unit tests
2016-09-10 23:31:08 -07:00
Mike Place
81fb34ecd0
Merge pull request #36190 from eradman/openbsdpkg
...
pkg.install: enable OpenBSD branch and flavor specifications
2016-09-10 09:06:43 +09:00
Christophe Drevet
4c422f1549
fix cron.absent by identifier on test mode ( #36181 )
2016-09-09 16:20:58 -06:00
rallytime
167fe00e00
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-09-09 09:54:17 -06:00
Eric Radman
16e46e36d9
pkg.install: enable OpenBSD branch and flavor specifications
...
Support OpenBSD branch specification (%)
ruby%2.3
As well as flavor specification (--)
vim--gtk2
By default packages are installed using the base flavor and the stable
branch.
Also add unit tests for OpenBSD package management
2016-09-09 11:42:10 -04:00
Patrick Valenzuela
b2f1d36e2f
Update boto_dynamodb for GSI management and backups ( #35878 )
...
* Update boto_dynamodb state/module for GSI management
* fix trailing whitespace
* modify format strings to conform to file style
* fix lint errors
* fix all but 1 test
* add example
2016-09-09 08:57:29 -06:00
Mike Place
31b2ef2585
Merge pull request #36124 from twangboy/linux_acl_test_mac
...
Skip test on all OS's but linux
2016-09-09 18:59:35 +09:00
rallytime
2edfef33ae
Merge branch 'carbon' into 'develop'
...
Conflicts:
- salt/scripts.py
- salt/thorium/key.py
- tests/unit/cloud/clouds/dimensiondata_test.py
- tests/unit/cloud/clouds/gce_test.py
2016-09-08 17:31:29 -06:00
rallytime
c30f697dfd
Pylint fix
2016-09-08 17:23:15 -06:00
rallytime
6da0fbbe96
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/modules/cmdmod.py
- salt/modules/linux_sysctl.py
- tests/unit/cloud/clouds/dimensiondata_test.py
- tests/unit/cloud/clouds/gce_test.py
- tests/unit/modules/boto_iot_test.py
- tests/unit/modules/mount_test.py
- tests/unit/states/boto_iot_test.py
- tests/unit/utils/network.py
2016-09-08 16:14:04 -06:00
twangboy
e6b34c414d
Add missing import (lint)
2016-09-08 15:37:21 -06:00
Justin Findlay
ad9ce5b4bc
modules.parallels: remove redundant state function
...
function is redundant with status, which prlctl provides natively
2016-09-08 14:22:59 -06:00
Justin Findlay
3a97818458
modules.parallels.delete: allow multiple IDs for same name
...
When parallels creates linked clones, it generates a new snapshot on the
cloned VM with the name 'Snapshot for linked clone', which when used
with jenkins results in hundreds of unneeded snapshots per week.
2016-09-08 14:22:26 -06:00
twangboy
bd65259605
Skip test on anything but linux
2016-09-08 13:46:41 -06:00
Pablo Suárez Hernández
235d6308a4
Fixing unit tests for develop ( #36141 )
...
* Fixing skipped boto tests to prevent errors if boto3 does not exists.
* Fix tests to prevent errors when libcloud is not present
* Fix PortageConfigTestCase in case of portage is not present
2016-09-08 11:15:41 -06:00
rallytime
7f955bda0a
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- tests/unit/modules/boto_vpc_test.py
- tests/unit/modules/mount_test.py
- tests/unit/modules/puppet_test.py
2016-09-08 10:55:57 -06:00
Mike Place
1f909038f0
Merge pull request #36139 from meaksh/tests-fixes-for-2016.3
...
Fixing unit tests for 2016.3
2016-09-08 22:20:21 +09:00
Pablo Suárez Hernández
52a7ed605e
Fixed _interfaces_ifconfig output for SunOS test
2016-09-08 12:39:28 +01:00
Eric Radman
158bcbff65
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 12:39:28 +01:00
Mihai Dincă
8b480167e1
Fix tests ( #35693 )
...
* Fix tests/unit/modules/useradd_test.py::UserAddTestCase::test_info
* Fix unit/pyobjects_test.py::MapTests::test_map
* Fix tests/unit/pyobjects_test.py::RendererTests::test_extend
* Fix tests/unit/pyobjects_test.py::RendererTests::test_requisite_implicit_list
2016-09-08 12:39:28 +01:00
Eric Radman
29814f9d43
Skip utils_test if timelib is not installed ( #32699 )
...
date_cast() throws a RuntimeError, not an ImportError
2016-09-08 12:39:28 +01:00
Pablo Suárez Hernández
d1d806f893
Fix PortageConfigTestCase in case of portage is not present
2016-09-08 12:39:28 +01:00
Pablo Suárez Hernández
1c260e4bd0
Fix tests to prevent errors when libcloud is not present
2016-09-08 12:39:28 +01:00
Mike Place
f74ca15f50
Remove test for file dir behavior
...
Refs #34809
2016-09-08 11:36:17 +01:00
Eric Radman
c65aefee20
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 11:36:17 +01:00
twangboy
f8c0b439b8
Fixed more lint
2016-09-08 11:36:17 +01:00
twangboy
63ff731009
Fixed tests
2016-09-08 11:36:17 +01:00
Dmitry Kuzmenko
04b1a4a9ca
Fixed use of assert_has_calls in tests.
...
The method logic was changed in mock-1.1.0.
This mades the use of the method compatible with both <1.1.0 and >=1.1.0
2016-09-08 11:36:17 +01:00
Dmitry Kuzmenko
46e4bb58e5
Fixed LoadAuthTestCase
2016-09-08 11:36:17 +01:00
rallytime
4e9733ad6d
Rename dockerio.py unit tests to dockerio_test.py
...
These tests have never run automatically because of an incorrect file name.
Added a skipIf on these tests as they are currently non-functioning and the
module they're testing has been deprecated.
2016-09-08 11:36:17 +01:00
Pedro Algarvio
ec0cc943e0
Make sure spm tests are picked up by runtests.
...
Lists in py2 don't have the clear method
2016-09-08 11:36:17 +01:00
kstreee
2605f34849
Fix missing first data in stream when subscribing stream using a function 'read_async'.
2016-09-08 11:36:17 +01:00
Pablo Suárez Hernández
305bab8be0
Fixed _interfaces_ifconfig output for SunOS test
2016-09-08 11:36:17 +01:00
Eric Radman
b5ca02c867
Fix tests that assert CommandExecutionError ( #32485 )
...
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-09-08 11:36:17 +01:00
Mihai Dincă
1fb6340fef
Fix tests ( #35693 )
...
* Fix tests/unit/modules/useradd_test.py::UserAddTestCase::test_info
* Fix unit/pyobjects_test.py::MapTests::test_map
* Fix tests/unit/pyobjects_test.py::RendererTests::test_extend
* Fix tests/unit/pyobjects_test.py::RendererTests::test_requisite_implicit_list
2016-09-08 11:36:17 +01:00
Eric Radman
5977f1f54c
Skip utils_test if timelib is not installed ( #32699 )
...
date_cast() throws a RuntimeError, not an ImportError
2016-09-08 11:36:17 +01:00
Pablo Suárez Hernández
d1b9a4061e
Fixing skipped boto tests to prevent errors if boto3 does not exists.
2016-09-08 11:36:17 +01:00
Nicole Thomas
7cdbc546f1
Back-port #36062 to 2015.8 ( #36118 )
...
* Comment all lines in the minion config file
* Add unit tests to check for all files in conf/ to be commented out
* Make sure cont/cloud.profiles file is commented out
Matches the cloud.providers file format and other sample config files.
* Add unit tests for sample files in cloud.profiles.d, cloud.providers.d,
and cloud.maps.d
* Make sure all sample config files in cloud.maps.d are commented out
* Make sure all sample config files in cloud.profiles.d are commented out
2016-09-07 16:01:34 -06:00
rallytime
07172cf371
Add some unit tests for the jid_queue functionality in minion.py
...
Refs #35172 and #28785
2016-09-07 14:15:35 -06:00
twangboy
da2dded3c3
Use /etc instead of /root
2016-09-07 12:34:33 -06:00
rallytime
de4f77cb68
Fixup failing test: need to mock __utils__ instead of salt.utils.cloud call
2016-09-07 08:46:47 -06:00
Mike Place
6460412b1c
Merge pull request #36042 from jfindlay/parallels
...
add functions to parallels execution module
2016-09-07 15:09:10 +09:00
Mike Place
6216e1df8c
Merge pull request #36050 from m03/add-initial-win_snmp-unit-tests
...
Add initial unit tests for win_snmp
2016-09-07 14:26:01 +09:00
Mike Place
4e609a2962
Merge pull request #36062 from rallytime/fix-36045
...
Add test to catch sample config files that are not commented out
2016-09-07 10:30:30 +09:00
rallytime
cf7a590a71
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-09-06 11:14:22 -06:00
rallytime
da25415e2c
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/minion.py
- salt/modules/gentoo_service.py
- salt/utils/event.py
- salt/wheel/key.py
2016-09-06 11:11:34 -06:00
Moe
3c264528fb
Expand/improve win_iis_test tests ( #36053 )
...
* Expand win_iis_test tests
* Fix linting issue
2016-09-06 10:47:28 -06:00
mwinnett
d6d38aad9e
Update versionadd tags
2016-09-06 09:22:55 -07:00