From 4a18003231293622f099f3f3685aeb50d1fb298d Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 22 Sep 2013 00:51:50 +0100 Subject: [PATCH] Error signatures changed, lets update test cases. --- tests/integration/client/standard.py | 2 +- tests/integration/modules/file.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/client/standard.py b/tests/integration/client/standard.py index 00e48fabe3..291f059d44 100644 --- a/tests/integration/client/standard.py +++ b/tests/integration/client/standard.py @@ -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} ) diff --git a/tests/integration/modules/file.py b/tests/integration/modules/file.py index 7e7f466700..84dbe367fc 100644 --- a/tests/integration/modules/file.py +++ b/tests/integration/modules/file.py @@ -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):