mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
lint fix
This commit is contained in:
parent
6f185c9179
commit
49053bc106
1 changed files with 2 additions and 2 deletions
|
@ -792,7 +792,7 @@ PATCHLEVEL = 3
|
|||
with patch("salt.utils.fopen", mock_open()) as os_release_file:
|
||||
os_release_file.return_value.__iter__.return_value = os_release_content
|
||||
with patch.object(core, '_sunos_cpudata',
|
||||
MagicMock(return_value={'cpuarch':'sparcv9',
|
||||
MagicMock(return_value={'cpuarch': 'sparcv9',
|
||||
'num_cpus': '1',
|
||||
'cpu_model': 'MOCK_CPU_MODEL',
|
||||
'cpu_flags': []})):
|
||||
|
@ -811,4 +811,4 @@ PATCHLEVEL = 3
|
|||
os_grains = core.os_data()
|
||||
grains = {k: v for k, v in os_grains.items()
|
||||
if k in set(['product', 'productname'])}
|
||||
self.assertEqual(grains, expectation)
|
||||
self.assertEqual(grains, expectation)
|
||||
|
|
Loading…
Add table
Reference in a new issue