summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2022-02-16 19:35:33 +0900
committerAkihiro Motoki <amotoki@gmail.com>2022-02-16 19:35:33 +0900
commit3c4accf94fa899f00a14a34ae7cac4a9c7e9fa31 (patch)
tree5fb1ff251a7513714935746d52d59247c7511f86
parent18545ca92108262e298fa8f24c64ae08e732773e (diff)
downloadhorizon-3c4accf94fa899f00a14a34ae7cac4a9c7e9fa31.tar.gz
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
-rw-r--r--openstack_dashboard/dashboards/project/instances/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/openstack_dashboard/dashboards/project/instances/tests.py b/openstack_dashboard/dashboards/project/instances/tests.py
index 075beea34..6149d3953 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)