mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Error signatures changed, lets update test cases.
This commit is contained in:
parent
c6790a1ec7
commit
4a18003231
@ -64,7 +64,7 @@ class StdTest(integration.ModuleCase):
|
|||||||
self.assertIn('minion', ret)
|
self.assertIn('minion', ret)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
ret['minion'],
|
ret['minion'],
|
||||||
{'ret': '"test.pong" is not available.', 'success': False}
|
{'ret': '\'test.pong\' is not available.', 'success': False}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ class FileModuleTest(integration.ModuleCase):
|
|||||||
def test_cannot_remove(self):
|
def test_cannot_remove(self):
|
||||||
ret = self.run_function('file.remove', args=['/dev/tty'])
|
ret = self.run_function('file.remove', args=['/dev/tty'])
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
'ERROR executing file.remove: File path must be absolute.', ret
|
'ERROR executing \'file.remove\': File path must be absolute.', ret
|
||||||
)
|
)
|
||||||
|
|
||||||
def test_source_list_for_single_file_returns_unchanged(self):
|
def test_source_list_for_single_file_returns_unchanged(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user