Fix failing unit test

This commit is contained in:
Colton Myers 2015-12-08 13:45:34 -07:00
parent 9673fd0937
commit e59364ad1d

View file

@ -229,14 +229,6 @@ class FileTestCase(TestCase):
group=group, backupname='SALT'),
ret)
comt = ('Something exists where the backup target'
' SALTshould go')
ret.update({'comment': comt, 'result': False})
self.assertDictEqual(filestate.symlink
(name, target, user=user,
group=group, backupname='SALT',
force=True), ret)
with patch.dict(filestate.__salt__, {'config.manage_mode': mock_t,
'file.user_to_uid': mock_uid,
'file.group_to_gid': mock_gid,