Browse Source

Update tests

camabeh 6 years ago
parent
commit
5bd91422f6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      roles/lib_openshift/src/test/unit/test_oc_group.py

+ 3 - 3
roles/lib_openshift/src/test/unit/test_oc_group.py

@@ -46,8 +46,8 @@ class OCGroupTest(unittest.TestCase):
         }'''
 
         mock_run.side_effect = [
-            (1, '', 'Error from server: groups "acme" not found'),
-            (1, '', 'Error from server: groups "acme" not found'),
+            (1, '', 'Error from server: groups.user.openshift.io "acme" not found'),
+            (1, '', 'Error from server: groups.user.openshift.io "acme" not found'),
             (0, '', ''),
             (0, group, ''),
         ]
@@ -70,7 +70,7 @@ class OCGroupTest(unittest.TestCase):
         params['name'] = 'noexist'
 
         mock_run.side_effect = [
-            (1, '', 'Error from server: groups "acme" not found'),
+            (1, '', 'Error from server: groups.user.openshift.io "acme" not found'),
         ]
 
         mock_tmpfile_copy.side_effect = [