selenium tests fail with Django 1.7

Bug #1439169 reported by David Lyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
David Lyle

Bug Description

When using Django 1.7, the Selenium tests fail. Can't upgrade to 1.7 without fixing these.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/170624

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/170624
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=78eb15088e4dffabf0154c34a7d08a631ad92a92
Submitter: Jenkins
Branch: master

commit 78eb15088e4dffabf0154c34a7d08a631ad92a92
Author: David Lyle <email address hidden>
Date: Fri Apr 3 17:04:41 2015 -0600

    Fixing selenium tests to work with Django 1.7

    Django changed the functionality of django.test.LiveServerTestCase
    in 1.7 The old functionality is now supported by
    django.contrib.testing.StaticLiveServerTestCase

    This adds a version check to do a conditional import to pull in
    either the old test case class or the new.

    For more information see:
    https://docs.djangoproject.com/en/1.7/ref/contrib/staticfiles/#specialized-test-case-to-support-live-testing

    Closes-Bug: #1439169
    Change-Id: I182847a8e77de0b9c279eeb305b536d8cdf6c43b

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.