Fix some tests

This commit is contained in:
twangboy 2016-03-08 16:13:38 -07:00
parent fd96733fc7
commit f54139fb9f

View File

@ -44,7 +44,7 @@ class MacXattrModuleTest(integration.ModuleCase):
'''
self.run_function('xattr.clear', [test_file])
self.assertEqual(self.run_function('xattr.list', [test_file]),
None)
'')
def test_write(self):
'''
@ -124,7 +124,7 @@ class MacXattrModuleTest(integration.ModuleCase):
'patty'])
self.assertEqual(self.run_function('xattr.delete', [test_file,
'squidward']),
None)
'')
self.assertEqual(self.run_function('xattr.list', [test_file]),
{'spongebob': 'squarepants',
'crabby': 'patty'})
@ -146,7 +146,7 @@ class MacXattrModuleTest(integration.ModuleCase):
self.assertEqual(self.run_function('xattr.clear', [test_file]),
None)
self.assertEqual(self.run_function('xattr.list', [test_file]),
None)
'')
if __name__ == '__main__':