twangboy
4ae8a43435
Fix test_issue_6833_pip_upgrade_pip test on OSX
2016-09-12 12:17:30 -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
Mike Place
1eb67df61e
Merge pull request #36198 from gtmanfred/carbon
...
add keystone state integration tests
2016-09-11 18:16:38 +09:00
Mike Place
7d25344574
Merge pull request #36194 from jfindlay/mac_timezone
...
skip some mac_timezone tests
2016-09-10 09:07:07 +09:00
Daniel Wallace
1c31d5e464
add keystone state integration tests
...
fix api_version for using connection_args
2016-09-09 17:14:44 -05:00
twangboy
075ceb09ab
Fix test_latest_version test
2016-09-09 14:14:51 -06:00
Megan Wilhite
393bbef63b
Add test 35015 ( #35945 )
...
* add salt-key eauth tests
* add salt-run with eauth tests
* add method docs
* change expected return
2016-09-09 12:58:50 -06:00
Justin Findlay
eaada10e89
skip some mac_timezone tests
2016-09-09 12:34:24 -06:00
rallytime
3ed6190ece
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/minion.py
2016-09-09 09:36:57 -06:00
Mike Place
1d5f97d36b
Merge pull request #35907 from rallytime/fix-35819
...
Catch CommandExecutionError when the group in group_installed doesn't exist
2016-09-09 19:14:16 +09: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
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
Thomas S Hatch
93d8a83271
Merge pull request #36086 from twangboy/mac_power_tests
...
Fix tests for mac_power module on various systems.
2016-09-08 14:52:37 -06:00
Thomas S Hatch
736903222a
Merge pull request #36122 from twangboy/mac_system_tests
...
Fix test not starting, skip broken functions
2016-09-08 14:42:48 -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
Nicole Thomas
0e8e66877a
Back-port #36067 to carbon ( #36159 )
...
* Fix signal handling
We had a little mix-up with the args ordering for our signal handling.
This sends the proper signal to processes on cleanup.
I have also temporarily disabled the pytest engines because they were
causing the minions to try to to connect to a master IPC socket which could not be found.
This put the minions into a continual futex state which was not playing well with kill sigs.
* Lint
2016-09-08 13:03:12 -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
c4e54c853d
Merge pull request #36125 from rallytime/test-35172
...
Add some unit tests for the jid_queue functionality in minion.py
2016-09-08 22:23:32 +09: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
David Boucha
64a576fc6e
add windows core grain test
2016-09-07 21:22:24 -06:00
Mike Place
eac9935b58
Merge pull request #36044 from Ch3LL/add_test_state_event
...
add salt-run state.event test
2016-09-08 10:23:49 +09:00
Mike Place
70da628018
Merge pull request #36070 from rallytime/fix-36057
...
Use __utils__ instead of salt.utils.cloud in opennebula driver
2016-09-08 10:18:45 +09: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
twangboy
b4112247a4
Fix test not starting, skip broken functions
2016-09-07 12:01:38 -06:00