diff options
Diffstat (limited to 'ironic/tests/unit/api/controllers/v1/test_port.py')
-rw-r--r-- | ironic/tests/unit/api/controllers/v1/test_port.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/tests/unit/api/controllers/v1/test_port.py b/ironic/tests/unit/api/controllers/v1/test_port.py index dfdddc470..b2065e7bb 100644 --- a/ironic/tests/unit/api/controllers/v1/test_port.py +++ b/ironic/tests/unit/api/controllers/v1/test_port.py @@ -1112,7 +1112,7 @@ class TestListPorts(test_api_base.BaseApiTest): headers={api_base.Version.string: '1.24'}, expect_errors=True) self.assertEqual(http_client.BAD_REQUEST, response.status_int) - self.assertIn('Expected a logical name or UUID', + self.assertIn('Expected UUID or name for portgroup', response.json['error_message']) |