From d6aa4e2299d49b90ec54f38d70766984b2d0701c Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 3 Jan 2014 21:33:40 +0000 Subject: [PATCH] Fix message text --- tests/functional/openlp_core_common/test_registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_core_common/test_registry.py b/tests/functional/openlp_core_common/test_registry.py index 84813195e..a57d7ea85 100644 --- a/tests/functional/openlp_core_common/test_registry.py +++ b/tests/functional/openlp_core_common/test_registry.py @@ -64,13 +64,13 @@ class TestRegistry(TestCase): # WHEN I try to get back a non existent component # THEN I will get an exception temp = Registry().get('test2') - self.assertEqual(temp, None, 'KeyError error None should not have been returned for missing service') + self.assertEqual(temp, None, 'None should have been returned for missing service') # WHEN I try to replace a component I should be allowed (testing only) Registry().remove('test1') # THEN I will get an exception temp = Registry().get('test1') - self.assertEqual(temp, None, 'KeyError error None should have been returned for deleted service') + self.assertEqual(temp, None, 'None should have been returned for deleted service') def registry_function_test(self): """