Skip to content

Commit

Permalink
PEP8: code lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Maryniuk authored and terminalmage committed Jun 14, 2018
1 parent d882dbd commit 1bd0497
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ def test_get_module_environment_opts(self):
'''
Test for salt.utils.get_module_environment
Test if __opts__ are visible.
:return:
'''
expectation = {'message': 'Melting hard drives'}
_globals = {'__opts__': {'system-environment': {'salt.in.system': expectation}},
_globals = {'__opts__': {'system-environment': {
'salt.in.system': expectation}},
'__file__': '/daemons/loose/in/system.py'}
assert salt.utils.get_module_environment(_globals) == expectation

def test_get_module_environment_pillars(self):
'''
Test for salt.utils.get_module_environment
Expand All @@ -56,6 +57,7 @@ def test_get_module_environment_pillars(self):
'salt.electric.interference': expectation}},
'__file__': '/piezo/electric/interference.py'}
assert salt.utils.get_module_environment(_globals) == expectation

def test_get_module_environment_pillar_override(self):
'''
Test for salt.utils.get_module_environment
Expand Down

0 comments on commit 1bd0497

Please sign in to comment.