Fix directory unit test

This commit is contained in:
Daniel A. Wozniak 2018-08-17 14:08:58 -07:00 committed by rallytime
parent 2f865c398e
commit e8e6a46a2b
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -865,7 +865,7 @@ class TestFileState(TestCase, LoaderModuleMockMixin):
else:
comt = ('The following files will be changed:\n{0}:'
' directory - new\n'.format(name))
p_chg = {'/etc/testdir': {'directory': 'new'}}
p_chg = {name: {'directory': 'new'}}
ret.update({
'comment': comt,
'result': None,