From 9748fa2ab1068486810b7a0fe59d88b3d2e717da Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 24 Feb 2015 07:30:56 +0100 Subject: [PATCH] tests: Fix asserted strings in context tests --- test/context.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/context.t b/test/context.t index 5558da479..b040ea83f 100755 --- a/test/context.t +++ b/test/context.t @@ -105,7 +105,7 @@ class ContextManagementTest(TestCase): output = self.t(('context', 'delete', 'work'))[1] # Assert correct output - self.assertIn("Context 'work' undefined.", output) + self.assertIn("Context 'work' deleted.", output) # Assert that taskrc does not countain context work definition self.assertFalse(any('context.work=' in line for line in self.t.taskrc_content)) @@ -118,7 +118,7 @@ class ContextManagementTest(TestCase): output = self.t.runError(('context', 'delete', 'work'))[1] # Assert correct output - self.assertIn("Context 'work' was not undefined.", output) + self.assertIn("Context 'work' not deleted.", output) # Assert that taskrc does not countain context work definition self.assertFalse(any('context.work=' in line for line in self.t.taskrc_content)) @@ -133,7 +133,7 @@ class ContextManagementTest(TestCase): output = self.t(('context', 'delete', 'work'))[1] # Assert correct output - self.assertIn("Context 'work' undefined.", output) + self.assertIn("Context 'work' deleted.", output) # Assert that taskrc does not countain context work definition self.assertFalse(any('context.work=' in line for line in self.t.taskrc_content))