From 3c4accf94fa899f00a14a34ae7cac4a9c7e9fa31 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Wed, 16 Feb 2022 19:35:33 +0900 Subject: [PATCH] Follow-up: Drop Django launch instance (part 2) This is another follow-up of dropping the django version of the launch instance form. ResizeInstance workflow was cleaned up as a follow-up in [1] and "config_drive" field no longer exists. This commit drops an unnecesary check for "config_drive" field in UT. [1] https://review.opendev.org/c/openstack/horizon/+/826262/ Change-Id: Ic3c458f70b146299f41a3ac02b78ddc156e02d93 --- openstack_dashboard/dashboards/project/instances/tests.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/openstack_dashboard/dashboards/project/instances/tests.py b/openstack_dashboard/dashboards/project/instances/tests.py index 075beea34a..6149d39532 100644 --- a/openstack_dashboard/dashboards/project/instances/tests.py +++ b/openstack_dashboard/dashboards/project/instances/tests.py @@ -2175,9 +2175,6 @@ class InstanceTests2(InstanceTestBase, InstanceTableTestMixin): workflows.ResizeInstance.name) self.assertContains(res, 'Disk Partition') - config_drive_field_label = 'Configuration Drive' - self.assertNotContains(res, config_drive_field_label) - step = workflow.get_step("flavor_choice") self.assertEqual(step.action.initial['old_flavor_id'], flavor.id)