mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix some tests
This commit is contained in:
parent
fd96733fc7
commit
f54139fb9f
@ -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__':
|
||||
|
Loading…
Reference in New Issue
Block a user