diff options
author | Rob Cresswell <robert.cresswell@outlook.com> | 2016-02-11 14:45:32 +0000 |
---|---|---|
committer | Timur Sufiev <tsufiev@mirantis.com> | 2016-04-09 11:13:16 +0000 |
commit | fd92d8ec59c2f4d91f4a1c5463d95d1237f07b21 (patch) | |
tree | 3b38d9043ef3c7c85bc1fca2ca3b91638f649f26 /openstack_dashboard/dashboards/project/instances/tests.py | |
parent | ac63c15c9406c4d6b32ddf148b82775bd7c784dc (diff) | |
download | horizon-fd92d8ec59c2f4d91f4a1c5463d95d1237f07b21.tar.gz |
Fix remaining Django 1.9 test failures
This patch gets Horizon to a passing state in the Django 1.9 tests
Co-Authored-By: Itxaka <iserrano@redhat.com>
Co-Authored-By: Timur Sufiev <tsufiev@mirantis.com>
Change-Id: Icbc1a3c039de658faa9fba4a2cdd5027345fe94d
Partially-Implements: blueprint drop-dj17
Diffstat (limited to 'openstack_dashboard/dashboards/project/instances/tests.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/instances/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/project/instances/tests.py b/openstack_dashboard/dashboards/project/instances/tests.py index 11210d6e5..25984039b 100644 --- a/openstack_dashboard/dashboards/project/instances/tests.py +++ b/openstack_dashboard/dashboards/project/instances/tests.py @@ -4511,7 +4511,8 @@ class InstanceTests(helpers.TestCase): confirm_password=pass2, disk_config='MANUAL') - self.assertContains(res, "Passwords do not match.") + self.assertEqual(res.context['form'].errors['__all__'], + ["Passwords do not match."]) @helpers.create_stubs(instance_rebuild_post_stubs) def test_rebuild_instance_post_with_empty_string(self): |