Fixed augeas_test.py to match True v.s. None for test_change_in_test_mode

This commit is contained in:
Daniel Boughton 2016-11-27 08:40:05 -05:00
parent ef75c459c0
commit ddc238df36

View file

@ -84,7 +84,7 @@ class AugeasTestCase(TestCase):
comt = ('Executing commands in file "/files/etc/services":\n'
'ins service-name after service-name[last()]'
'\nset service-name[last()] zabbix-agent')
self.ret.update({'comment': comt, 'result': None})
self.ret.update({'comment': comt, 'result': True})
with patch.dict(augeas.__opts__, {'test': True}):
self.assertDictEqual(