mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
lint
This commit is contained in:
parent
4f9eb95d7f
commit
4f30611c69
@ -695,11 +695,11 @@ class CoreGrainsTestCase(TestCase, LoaderModuleMockMixin):
|
||||
patch.object(os.path,
|
||||
'isfile',
|
||||
MagicMock(side_effect=lambda x: True if x == '/sys/bus/xen/drivers/xenconsole' else False)):
|
||||
log.debug('Testing Xen')
|
||||
self.assertEqual(
|
||||
core._virtual({'kernel': 'Linux'}).get('virtual_subtype'),
|
||||
'Xen PV DomU'
|
||||
)
|
||||
log.debug('Testing Xen')
|
||||
self.assertEqual(
|
||||
core._virtual({'kernel': 'Linux'}).get('virtual_subtype'),
|
||||
'Xen PV DomU'
|
||||
)
|
||||
|
||||
def _check_ipaddress(self, value, ip_v):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user