missed removing changes in the next test

This commit is contained in:
Daniel Wallace 2017-10-19 16:01:16 -06:00
parent ac0b5ec440
commit a7d3d668f4
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -803,7 +803,7 @@ class FileTestCase(TestCase):
with patch.object(os.path, 'isdir', mock_f):
comt = ('No directory to create {0} in'
.format(name))
ret.update({'comment': comt, 'result': False})
ret.update({'comment': comt, 'result': False, 'changes': {}})
self.assertDictEqual(filestate.directory
(name, user=user, group=group),
ret)