Merge branch '2016.11.9' into '2016.11'

No conflicts.
This commit is contained in:
rallytime 2018-01-18 17:49:26 -05:00
commit 441f819b7b
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -485,10 +485,11 @@ PATCHLEVEL = 3
log.debug(
'Testing Docker cgroup substring \'%s\'', cgroup_substr)
with patch('salt.utils.fopen', mock_open(read_data=cgroup_data)):
self.assertEqual(
core._virtual({'kernel': 'Linux'}).get('virtual_subtype'),
'Docker'
)
with patch.dict(core.__salt__, {'cmd.run_all': MagicMock()}):
self.assertEqual(
core._virtual({'kernel': 'Linux'}).get('virtual_subtype'),
'Docker'
)
def _check_ipaddress(self, value, ip_v):
'''