mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Test only comment section conversion
This commit is contained in:
parent
ac63d35703
commit
d9b4ac2d6d
@ -530,6 +530,10 @@ class StateReturnsTestCase(TestCase):
|
||||
expected = {'comment': 'data\nin\nthe\nlist', 'changes': {}, 'name': None, 'result': True}
|
||||
assert statedecorators.state_output_unificator(lambda: data)() == expected
|
||||
|
||||
data = {'comment': ['data', 'in', 'the', 'list'], 'changes': {}, 'name': None, 'result': None}
|
||||
expected = 'data\nin\nthe\nlist'
|
||||
assert statedecorators.state_output_unificator(lambda: data)()['comment'] == expected
|
||||
|
||||
|
||||
class StateFormatSlotsTestCase(TestCase, AdaptedConfigurationTestCaseMixin):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user