Error signatures changed, lets update test cases.

This commit is contained in:
Pedro Algarvio 2013-09-22 00:51:50 +01:00
parent c6790a1ec7
commit 4a18003231
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class StdTest(integration.ModuleCase):
self.assertIn('minion', ret)
self.assertEqual(
ret['minion'],
{'ret': '"test.pong" is not available.', 'success': False}
{'ret': '\'test.pong\' is not available.', 'success': False}
)

View File

@ -156,7 +156,7 @@ class FileModuleTest(integration.ModuleCase):
def test_cannot_remove(self):
ret = self.run_function('file.remove', args=['/dev/tty'])
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):