From c97f73ce2a897fe6b83f08de1ce6e1865e9a83c5 Mon Sep 17 00:00:00 2001 From: Daniel Wilson Date: Tue, 11 Oct 2022 00:39:39 -0400 Subject: Use the compute SDK in server list Update server list to use the compute component of the OpenStack SDK instead of directly using the nova interface. This change depends on SDK version 0.102.0 for automatic client-side query filters. Change-Id: Ib9985812bfd98320b75f3a82bb594a0daa6e4d93 --- openstackclient/tests/functional/compute/v2/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstackclient/tests/functional') diff --git a/openstackclient/tests/functional/compute/v2/test_server.py b/openstackclient/tests/functional/compute/v2/test_server.py index 0558ef62..8c62fa9d 100644 --- a/openstackclient/tests/functional/compute/v2/test_server.py +++ b/openstackclient/tests/functional/compute/v2/test_server.py @@ -105,7 +105,7 @@ class ServerTests(common.ComputeTestCase): 'server list -f json --deleted --marker ' + name2 )) except exceptions.CommandFailed as e: - self.assertIn('marker [%s] not found (HTTP 400)' % (name2), + self.assertIn('marker [%s] not found' % (name2), e.stderr.decode('utf-8')) def test_server_list_with_changes_before(self): -- cgit v1.2.1