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
Mike Place
9f359d841f
Merge pull request #41208 from pkazmierczak/pkazmierczak-zypper-multiple-ver-pkgs
...
Fix: zypper handling of multiple version packages
2017-05-18 10:44:26 -05:00
Mike Place
fe38c7cf5e
Merge pull request #41282 from mcdermj/bp-41247
...
JunOS: Change os_install to use get_file instead of get_template
2017-05-17 13:25:26 -05:00
Piotr Kaźmierczak
d411a91676
Reverted back to cascading with statements for python 2.6 compat
2017-05-17 11:52:56 +02:00
rallytime
76714d116b
Mock calls to salt.utils.pkg.clear_rtag call in aptpkg unit tests
2017-05-16 16:00:37 -06:00
Piotr Kaźmierczak
7204013653
Compacted with statements in the unit test.
2017-05-16 22:48:09 +02:00
Piotr Kaźmierczak
6c4c08042c
Added unit tests and copied the behavior to
...
.upgrade method, too.
2017-05-16 20:47:04 +02:00
Jeremy McDermond
3e481cb764
JunOS: Fix whitespace for PEP compliance
2017-05-16 10:00:58 -07:00
Jeremy McDermond
f1751d135a
JunOS: Fix Unit Test
...
When adding the cp.get_file function, we need to add it into the list of
mock functions in the unit test along with get_template or the unit
tests will fail.
2017-05-16 10:00:50 -07:00
rallytime
d23010a114
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/modules/aptpkg.py
- salt/states/libcloud_dns.py
- salt/states/pkg.py
- tests/integration/modules/test_pkg.py
- tests/unit/modules/test_mac_brew.py
- tests/unit/modules/test_pkgutil.py
- tests/unit/modules/test_zypper.py
- tests/unit/states/libcloud_dns_test.py
2017-05-15 16:41:59 -06:00
Mike Place
50d8fde123
Merge pull request #41101 from terminalmage/issue40940
...
Fix "latest" keyword for version specification when used with aggregation
2017-05-15 11:52:35 -05:00
Dmitry Kuzmenko
b10730d8a1
Py3: Fixed timezone test.
2017-05-15 19:40:57 +03:00
rallytime
9014033726
Use LoaderModuleMockMixin for setting up default grains/salt dunders
2017-05-10 13:49:43 -06:00
rallytime
c282533612
Use with patch.dict for timezone.__grains__ dictionaries
2017-05-10 10:32:24 -06:00
rallytime
baa8e3f5a6
Move new timezone_test.py tests over to test_timezone.py tests
2017-05-09 16:33:18 -06:00
rallytime
ef0df4a954
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- salt/modules/win_network.py
- salt/modules/win_pkg.py
- salt/utils/gitfs.py
- tests/unit/modules/test_win_network.py
- tests/unit/states/test_file.py
2017-05-09 14:32:49 -06:00
Mike Place
a2f359fa13
Merge pull request #40852 from isbm/isbm-fix-coregrains-constants-bsc#1032931
...
Isbm fix coregrains constants bsc#1032931
2017-05-09 12:35:45 -06:00
Bo Maryniuk
f3b12a3f5b
Do not use multiple variables in "with" statement as of lint issues
2017-05-09 10:17:49 +02:00
Bo Maryniuk
35a8d99934
Disable the test for a while
2017-05-08 13:49:54 +02:00
Bo Maryniuk
76cb1b7150
Rewrite test case for using no patch decorators
2017-05-08 10:41:50 +02:00
Erik Johnson
2af89beb53
Merge pull request #41103 from lorengordon/win.get_route
...
Adds a get_route() function to win_network.py
2017-05-06 01:19:41 -05:00
Erik Johnson
92011dbe5f
Fix "latest" keyword for version specification when used with aggregation
...
The "latest" keyword was only implemented when both "name" and "version"
were used, and not for "pkgs". But mod_aggregate puts all packages into
a single low chunk, within "pkgs". This means that using aggregation in
conjuntion with the "latest" keyword no longer resolves the latest
version and thus breaks these states.
This fixes the problem by moving the logic for resolving the "latest"
keyword into _find_install_targets(). It also makes some improvements to
the logic we use to ensure only one package DB refresh is performed per
Salt run, by making the pkg.refresh_db functions handle removing the
rtag file, instead of requiring a call to a helper function everywhere
in the pkg state where we might be calling a function that refreshes the
package DB.
2017-05-06 00:46:06 -05:00
Loren Gordon
93ce5644ea
Adds test for win_network.get_route
2017-05-05 17:32:50 -04:00
Mike Place
044e0b2063
Merge pull request #40860 from twangboy/change_broadcast
...
Remove dependency on win32gui
2017-05-02 10:45:51 -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
Pedro Algarvio
e6ee82e7be
The expected error message is different on py2 and py3
2017-04-28 13:36:45 +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
9ffc79ca67
Use tornado HTTPClient directly.
2017-04-28 13:33:35 +01:00
Pedro Algarvio
7480a8e5fb
Check status on setUp
not on the module level @skipIf
decorator
2017-04-28 13:33:34 +01:00
twangboy
e8d440b543
Mock win32api instead of win32gui
2017-04-26 12:41:13 -06:00
twangboy
fa8f9b55d8
Fix unit test, still mocking SendMessageTimout
2017-04-25 10:13:55 -06:00
Bo Maryniuk
f71af0b625
Fix lint issues
2017-04-24 18:46:27 +02: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