horizon/openstack_dashboard/test/tests
Sam Betts 0d010f601c Fix date pickers in metering modal
The metering forms were using the date picker functionality from the
d3 line chart library, this used to work when it was loaded as a whole
page as the d3 libary would run intending to setup any d3 graphs however
now it is being loaded as a modal the elements that would be affected by
the d3 code do not exist at page load time.

In order to get the date picker events to be added to the elements on
the form when the modal loads, the JS in the forms template has been
extended in this patch to support adding those events.

This patch also changes the data attributes on the form elements so that
they do not conflict with any d3 line chart elements.

Alongside the javascript this patch fixes bug to do with parsing the
dates in metering utils and adds UTs to prevent regression.

Change-Id: I4e239daa03b2f54e434254bac48ba0cceb037b5d
Closes-Bug: 1427756
2015-04-28 11:08:27 +01:00
..
__init__.py Allow running tests individually 2012-11-15 14:50:51 +11:00
error_pages.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
policy_backend.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
policy.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
quotas.py Fix incorrect mocking in quota tests 2015-01-22 16:37:06 +11:00
selenium_tests.py Tests pass in languages other than English 2015-01-14 12:59:42 -07:00
templates.py Fix Flake8 style warnings in openstack_dashboard/ 2014-07-30 14:13:24 +02:00
utils.py Fix date pickers in metering modal 2015-04-28 11:08:27 +01:00