Ignat Korchagin
0d6da33391
Update grains unit test to support reading firmware grains from sysfs in Linux
2017-05-03 13:10:29 +00:00
Daniel Wallace
97e67e262f
fix unit tests for dockermod
2017-05-02 18:50:03 -06:00
Mike Place
044e0b2063
Merge pull request #40860 from twangboy/change_broadcast
...
Remove dependency on win32gui
2017-05-02 10:45:51 -06:00
Adam Mendlik
74c7899f2a
Rename kernelpkg module files to kernelpkg_linux_<pkgmanager>
...
This groups them together lexicographically and makes it clear which
package manager each one supports.
2017-05-01 18:22:34 -06:00
Erik Johnson
26d2f4a52a
Do not automatically unmask services to start/restart/etc. them
2017-05-01 16:01:35 -05:00
Mike Place
9d12a614b7
Fix failing test
2017-05-01 11:50:39 -06:00
Anthony Shaw
77cdd3c2dc
backward compatibility with older versions of libcloud where snapshots don't have a name field
2017-05-01 21:05:33 +10:00
Anthony Shaw
e85f1a4314
snapshot name seems to be a recent addition
2017-05-01 14:28:54 +10:00
Adam Mendlik
fd09ae7f1a
Add state modules to manage Linux kernel packages
2017-04-30 12:53:57 -06:00
Adam Mendlik
e2524656c4
Add execution modules to manage Linux kernel packages
2017-04-30 12:53:48 -06:00
Anthony Shaw
7ec1d6ba83
lint fixes
2017-04-30 21:49:54 +10:00
Anthony Shaw
1c4a03c538
key pair management methods and tests, linting
2017-04-30 20:28:20 +10:00
Anthony Shaw
06e94dcb58
add image management methods and tests
2017-04-30 19:49:54 +10:00
Anthony Shaw
277933e8d8
add volume, list_images, snapshot methods and tests
2017-04-30 15:04:50 +10:00
Anthony Shaw
3f8827f6b4
add list_volumes
2017-04-29 15:54:59 +10:00
Anthony Shaw
ec95304153
destroy and reboot node
2017-04-29 15:45:07 +10:00
Anthony Shaw
cc40734255
implement list_locations
2017-04-29 15:33:20 +10:00
Anthony Shaw
3c6f13699b
unit tests for list_nodes and list_sizes with implementation
2017-04-29 15:24:15 +10:00
Anthony Shaw
bb62c73b1b
clean up dns test method
2017-04-29 10:48:04 +10:00
Anthony Shaw
1c808dbbc0
inherit from dicts for test classes
2017-04-29 09:55:27 +10:00
Anthony Shaw
d9ee7b3b7f
Fix class rename errors.
2017-04-29 08:28:28 +10:00
Anthony Shaw
e92a7ba660
Merge branch 'develop' into libcloud_state
2017-04-29 07:43:28 +10: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
fc90c8ec06
Switch how IOLoop's are run on these tests
2017-04-28 13:36:45 +01:00
Pedro Algarvio
e6ee82e7be
The expected error message is different on py2 and py3
2017-04-28 13:36:45 +01: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
4b59c351e4
This branch no longer targets py 2.6
2017-04-28 13:33:37 +01:00
Pedro Algarvio
9a3f6d1350
Properly handle non native strings under py2 and py3
2017-04-28 13:33:36 +01:00
Pedro Algarvio
5ed3d8d98c
Don't error out because of bad file descriptor errors
2017-04-28 13:33:36 +01:00
Pedro Algarvio
102d63e238
Use self.addCleanup
instead
2017-04-28 13:33:36 +01:00
Pedro Algarvio
ef3dbb10de
Lint fixes
2017-04-28 13:33:35 +01:00
Pedro Algarvio
9ffc79ca67
Use tornado HTTPClient directly.
2017-04-28 13:33:35 +01:00
Pedro Algarvio
80b80e5416
Fix cherrypy memory leakage
...
* Clean its event/signal bus since our tests don't rely on those.
* No test class level dictionaries
2017-04-28 13:33:35 +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
7480a8e5fb
Check status on setUp
not on the module level @skipIf
decorator
2017-04-28 13:33:34 +01:00
Pedro Algarvio
6eac0ee132
Call tearDown
and not setUp
...
@cachedout with this change, the FD's still attached code will always
fail, so, for now, that's just commented out.
When you wrote this, did tornado eventually cleaned these FD's?
2017-04-28 13:33:34 +01:00
Pedro Algarvio
6364128ad3
Fix tornado test cases
2017-04-28 13:33:34 +01:00
Pedro Algarvio
701280ae18
Cleanup
2017-04-28 13:33:33 +01:00
Pedro Algarvio
75569c8e99
unittest.TestCase
does not have a skip()
method. It's skipTest
.
2017-04-28 13:33:33 +01:00
Pedro Algarvio
1d8f02f635
Drop @patch
usage. Py3 Compat.
2017-04-28 13:33:32 +01:00
Mike Place
78011f8740
Merge pull request #40761 from meaksh/develop-pkg-minor-fixes
...
Minor fixes on new pkg.list_downloaded
2017-04-28 06:32:48 -06:00
rallytime
a876bcdb8a
Merge branch 'nitrogen' into 'develop'
...
No conflicts.
2017-04-27 10:37:05 -06:00
twangboy
e8d440b543
Mock win32api instead of win32gui
2017-04-26 12:41:13 -06:00
Pablo Suárez Hernández
9b241b7338
Adapting Zypper test to new list_downloaded output
2017-04-26 12:35:27 +01:00
Pablo Suarez Hernandez
ddf98e3fe3
Enhances pkg.list_downloaded information of a package
2017-04-26 12:34:13 +01:00
Anthony Shaw
df93290f24
update DNS states to support dictionary responses
2017-04-26 13:34:52 +10:00
rallytime
2f1998ac00
Pylint extra space
2017-04-25 16:41:39 -06:00
rallytime
ad9914353b
Pylint fixes
2017-04-25 14:18:50 -06:00
rallytime
c3f4874c21
Pylint fixes and rework new test in dimensiondata cloud unit tests
2017-04-25 11:06:55 -06:00
rallytime
8e24b3a8b2
Pylint fixes for some cloud unit tests
2017-04-25 11:06:39 -06:00
twangboy
fa8f9b55d8
Fix unit test, still mocking SendMessageTimout
2017-04-25 10:13:55 -06:00
rallytime
7f14a6491e
Rename nova and openstack unit tests to test_*.py
2017-04-25 09:27:11 -06:00
Anthony Shaw
5dee8b12de
add support for custom algorithms and complementary test
2017-04-25 21:47:38 +10:00
Anthony Shaw
867e6c1ce5
tests for load balancer and lint for other modules, fixes for load balancer
2017-04-25 21:07:27 +10:00
Anthony Shaw
5f03b7a506
tests for load balancer and fixed issue with destroy balancer
2017-04-25 20:44:36 +10:00
Anthony Shaw
bb4ec6c4db
tests for the storage module
2017-04-25 20:27:52 +10:00
rallytime
5372f25fde
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/cloud/clouds/rackspace.py
- tests/unit/cloud/clouds/test_dimensiondata.py
2017-04-24 15:35:28 -06:00
Anthony Shaw
2ec6da0383
Merge branch 'develop' into libcloud_storage
2017-04-25 07:25:57 +10:00
Bo Maryniuk
f71af0b625
Fix lint issues
2017-04-24 18:46:27 +02:00
rallytime
ce13658301
Lint fixes for keystone state and keystone state unit tests
2017-04-24 09:27:52 -06:00
Bo Maryniuk
0e6abb3e37
Add UT on set_hw_clock on Gentoo
2017-04-24 16:08:22 +02:00
Bo Maryniuk
a2b1d4638c
Add UT for set_hwclock on Debian
2017-04-24 16:08:22 +02:00
Bo Maryniuk
88e8184702
Add UT set_hwclock on SUSE
2017-04-24 16:08:22 +02:00
Bo Maryniuk
0cd590f927
Fix UT names
2017-04-24 16:08:22 +02:00
Bo Maryniuk
bee94ade63
Add UT for set_hwclock on RedHat
2017-04-24 16:08:22 +02:00
Bo Maryniuk
dfe2610d05
Add UT for set_hwclock on Arch
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d000a8a6f5
Add UT for set_hwclock on solaris
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d2614aedaa
Fix docstrings
2017-04-24 16:08:22 +02:00
Bo Maryniuk
6d782191dc
Add UT for set_hwclock on AIX
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d303e0dd8a
Add UT for AIX on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
86f2d83781
Add UT on Solaris
2017-04-24 16:08:22 +02:00
Bo Maryniuk
c3cafed6d5
Add UT for Debian on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
d337c09357
Add UT for RedHat/SUSE platforms on get_hwclock
2017-04-24 16:08:22 +02:00
Bo Maryniuk
f25dc5c56c
Add UT for get_hwclock on SUSE platform
2017-04-24 16:08:22 +02:00
Bo Maryniuk
08e00c865c
Remove dead code
2017-04-24 16:08:22 +02:00
Bo Maryniuk
1216a0bf12
Add UT for get_hwclock on UTC/localtime
2017-04-24 16:08:22 +02:00
Bo Maryniuk
58676c568d
Add UT for Debian on set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
1b9ce37b1b
Add UT for gentoo on set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
6ed9be985e
Adjust UT to use correct grain for SUSE series
2017-04-24 16:08:22 +02:00
Bo Maryniuk
ce4c836a60
Add UT for set_zone on SUSE series
2017-04-24 16:08:22 +02:00
Bo Maryniuk
155a498b49
Doc fix
2017-04-24 16:08:22 +02:00
Bo Maryniuk
a40876cdac
Remove unnecessary mock patch
2017-04-24 16:08:22 +02:00
Bo Maryniuk
ffab2db213
Fix doc for RH UT
2017-04-24 16:08:22 +02:00
Bo Maryniuk
72388f7ae2
Add UT for RedHat's set_zone
2017-04-24 16:08:22 +02:00
Bo Maryniuk
11595d3a42
Refactor with setup/teardown
2017-04-24 16:08:22 +02:00
Bo Maryniuk
28072c9e41
Adjust the test so it is using the right grain for SUSE systems
2017-04-24 16:08:22 +02:00
Bo Maryniuk
7a0e4be4f8
Add unit test for get_zone and various platforms
2017-04-24 16:08:22 +02:00
Anthony Shaw
2b4d84ef3f
add a unit test to check the module starts correctly
2017-04-24 16:35:16 +10:00
Mike Place
6da806d1cc
Merge pull request #39850 from epcim/pr_fix_keystone_endpoints_multiregion
...
Fix endpoint handling per region
2017-04-23 04:00:00 -06:00
Bo Maryniuk
116c96a4b7
Fix UT parameter changes
2017-04-22 10:08:20 +02:00
Bo Maryniuk
ed84420df0
Add unit test for node ip filtering
2017-04-22 10:08:20 +02:00
Bo Maryniuk
82582cff77
Skip test, if libcloud is not around
2017-04-22 10:08:20 +02:00
Bo Maryniuk
f005d53c56
Fix name error exception
2017-04-22 10:08:20 +02:00
Bo Maryniuk
5e574a24d9
Add unit test for nova connector
2017-04-22 10:08:19 +02:00
Bo Maryniuk
cd43805770
Add initial unit test for openstack cloud module
2017-04-22 10:08:19 +02:00
Bo Maryniuk
177f31446d
Add fake preferred IP function for testing
2017-04-22 10:08:19 +02:00
rallytime
a7eb8f717e
Merge branch 'nitrogen' into 'develop'
...
No conflicts.
2017-04-21 09:50:25 -06:00
Petr Michalec
ab1dd446e7
Endpoint handling per region, fixes #35874
...
- extend tests for multiple regions
- region arg by default set to None
- print verbose changes to be exec.
2017-04-21 15:48:52 +02:00
Mike Place
8652ad68c8
Merge pull request #40753 from arno01/dockerng-enhanced
...
dockerng: avoid network duplication and add driver_opts
2017-04-21 05:21:33 -06:00