Bo Maryniuk
13087b2062
Fix unit test: capture log message and redirect it to the test assertion
2018-01-30 21:14:04 +01:00
Bo Maryniuk
8a9dacc30b
Fix unit tests for HAS_DBUS removal
2018-01-30 21:05:00 +01:00
Bo Maryniuk
56f5645a09
Add unit test for localectl on arbitrary structure parser
2018-01-30 20:59:23 +01:00
Bo Maryniuk
5af33fbb0d
Add unit test for localectl output parse on broken content
2018-01-30 20:51:23 +01:00
Bo Maryniuk
bcd04fa0ab
Add log call verification
2018-01-30 20:47:26 +01:00
Bo Maryniuk
4f39075883
Add unit test for calling localectl parser on an empty output
2018-01-30 20:47:04 +01:00
Bo Maryniuk
a5d3098e9e
Add unit test for localectl output status parser when no systemd installed
2018-01-30 20:38:33 +01:00
Bo Maryniuk
b4b0ea7d58
Add unit test for localectl output status parser
2018-01-30 20:36:17 +01:00
Bo Maryniuk
ec4ef24cd3
Add unit test for set_locale on unknown system
2018-01-30 19:16:15 +01:00
Bo Maryniuk
98c5ed8ef6
Remove an old unit test for set_locale
2018-01-30 19:15:54 +01:00
Bo Maryniuk
bdff4dc74c
Fix system tuning conditions
2018-01-30 19:15:26 +01:00
Bo Maryniuk
e78dd78247
Add unit test for solaris when list_avail does not return proper locale
2018-01-30 19:07:40 +01:00
Bo Maryniuk
67d287316c
Add unit test on solaris with list_avail returning proper locale
2018-01-30 18:58:44 +01:00
Bo Maryniuk
2e07701a0a
Add unit test for set_locale on Gentoo system without systemd
2018-01-30 18:52:37 +01:00
Bo Maryniuk
a5acac5fc7
Add unit test for set_locale on Debian without systemd
2018-01-30 18:48:14 +01:00
Bo Maryniuk
cfb25f0e90
Add unit test for set_locale on RedHat systems without systemd
2018-01-30 18:45:55 +01:00
Bo Maryniuk
b1e8606d02
Add unit test with systemd and dbus enabled on SLE12
2018-01-30 18:43:01 +01:00
Bo Maryniuk
ceda257846
Add unit test for set_locale with dbus and systemd on any platform
2018-01-30 18:34:06 +01:00
Bo Maryniuk
b91ee79ef6
Add unit test for set_locale on any system with systemd and no dbus available
2018-01-30 18:32:34 +01:00
Bo Maryniuk
5bb80575d1
Fix unit test for calling a proper function while parsing localectl
2018-01-30 17:32:37 +01:00
Bo Maryniuk
b73c1d7308
Add unit test for calling unknown platform
2018-01-30 17:32:14 +01:00
Bo Maryniuk
d82b60a807
Add unit test for get_locale on Solaris
2018-01-30 17:28:28 +01:00
Bo Maryniuk
11805e47af
Add unit test for get_locale on gentoo
2018-01-30 17:27:26 +01:00
Bo Maryniuk
933b365010
Add unit test for get_locale on Debian without systemd/dbus
2018-01-30 17:26:26 +01:00
Bo Maryniuk
409de1e5f6
Fix docstring on RedHat unit test for get_locale
2018-01-30 17:26:05 +01:00
Bo Maryniuk
7c19e235b1
Add unit test for get_locale on redhat systems with no systemd
2018-01-30 17:24:04 +01:00
Bo Maryniuk
df16df3abf
Disable salt.utils.systemd.booted to be actually called
2018-01-30 17:23:40 +01:00
Bo Maryniuk
b3fff6744c
Add unit test for getting locale on SLE12 with systemd and dbus available
2018-01-30 17:18:13 +01:00
Bo Maryniuk
22630b7a32
Fix doc for unit test
2018-01-30 17:17:46 +01:00
Bo Maryniuk
0ef739b8a7
Add unit test calling get_locale with systemd and dbus available
2018-01-30 17:06:10 +01:00
Bo Maryniuk
3c37cfd76a
Add unit test calling get_locale with systemd but no dbus available
2018-01-30 17:04:37 +01:00
Bo Maryniuk
197586230a
Skip tests if there is no pytest installed
2018-01-30 17:03:58 +01:00
Nicole Thomas
0fc2309cda
Merge branch 'oxygen' into win_fix_test_data
2018-01-29 13:24:03 -05:00
Nicole Thomas
c54a07d3e5
Merge pull request #45715 from isbm/isbm-oxygen-unicode-S3172
...
Move to Unicode (3rd tier, tests)
2018-01-29 11:19:36 -05:00
Nicole Thomas
50af1d0641
Merge pull request #45714 from isbm/isbm-oxygen-unicode-S3170
...
Move to Unicode (3rd tier, tests)
2018-01-29 11:17:16 -05:00
Nicole Thomas
35fbbb6857
Merge pull request #45737 from terminalmage/ssdp-unit-tests
...
SSDP PY3 compatibility fixes
2018-01-29 08:50:11 -05:00
Bo Maryniuk
5da83c6265
Lintfix: E9402 (use of black-listed module)
2018-01-29 14:13:45 +01:00
Bo Maryniuk
634695fb11
Lintfix: E9402 (blacklisted module usage)
2018-01-29 14:09:59 +01:00
Erik Johnson
293bdf2517
Merge pull request #45726 from rallytime/merge-oxygen
...
[oxygen] Merge forward from 2017.7 to oxygen
2018-01-28 13:05:00 -06:00
Erik Johnson
c34a6f72cd
SSDP PY3 compatibility fixes
2018-01-28 11:09:20 -06:00
Erik Johnson
604ac80e7f
PY3-compatibility fix after unicode_literals was enabled
2018-01-27 16:30:29 -06:00
Erik Johnson
b1ae012852
Remove unnecessary additional assert
...
It looks like this was just written to assert the output of a failed
call to `ip.down`, which raises a KeyError at this point of the test
because it is not within the `with` block in which this function is
mocked.
2018-01-27 16:30:29 -06:00
Erik Johnson
e2b8ec9255
Merge pull request #45713 from isbm/isbm-oxygen-unicode-S3171
...
Move to unicode (3rd tier, tests)
2018-01-27 15:44:08 -06:00
Erik Johnson
c1b367dcb0
Merge pull request #45717 from isbm/isbm-oxygen-unicode-S3173
...
Move to unicode (3rd tier, tests)
2018-01-27 15:43:21 -06:00
Erik Johnson
7115cd9d39
Don't import text_type directly so it doesn't get added to lazyloader
2018-01-27 14:50:16 -06:00
Erik Johnson
fbcd9f1ef0
Merge branch 'isbm-3136-unittests-to-discovery' of https://github.com/isbm/salt into isbm-isbm-3136-unittests-to-discovery
2018-01-27 14:48:35 -06:00
rallytime
0ad101d560
Merge branch '2017.7' into 'oxygen'
...
Conflicts:
- doc/man/salt.7
- salt/modules/git.py
- salt/modules/pacman.py
- salt/states/git.py
- tests/integration/modules/test_mac_user.py
- tests/support/parser/__init__.py
2018-01-26 17:27:03 -05:00
Erik Johnson
fe9131e566
Fix unit.modules.test_inspect_fsdb.InspectorFSDBTestCase.test_create_table for PY3
...
This was broken when I fixed the test for PY2. The types for unicode
strings in PY3 are of course `str` and not `unicode`.
2018-01-26 11:19:15 -06:00
Erik Johnson
b0f2a51752
Fix unit.modules.test_hosts.HostsTestCase.test_set_host_true_remove for PY3
2018-01-26 09:54:21 -06:00
Bo Maryniuk
2839c089ac
Restore accidentally broken test
2018-01-26 15:31:29 +01:00