diff --git a/horizon/test/tests/selenium_tests.py b/horizon/test/tests/selenium_tests.py index 46410c4693..304087b4f6 100644 --- a/horizon/test/tests/selenium_tests.py +++ b/horizon/test/tests/selenium_tests.py @@ -24,7 +24,7 @@ class BrowserTests(test.SeleniumTestCase): wait = self.ui.WebDriverWait(self.selenium, 30) def jasmine_legacy_done(driver): - failures = driver.find_element_by_class_name("bar").text + failures = driver.find_element_by_class_name("jasmine-bar").text return failures self.assertTrue('0 failures' in wait.until(jasmine_legacy_done)) diff --git a/openstack_dashboard/test/test_data/nova_data.py b/openstack_dashboard/test/test_data/nova_data.py index 8c4279473e..25769c49cd 100644 --- a/openstack_dashboard/test/test_data/nova_data.py +++ b/openstack_dashboard/test/test_data/nova_data.py @@ -125,8 +125,8 @@ USAGE_DATA = """ "total_hours": 125.48222222222223, "total_local_gb_usage": 0, "tenant_id": "%(tenant_id)s", - "stop": "2012-01-31 23:59:59", - "start": "2012-01-01 00:00:00", + "stop": "2012-01-31T23:59:59.000000", + "start": "2012-01-01T00:00:00.000000", "server_usages": [ { "memory_mb": %(flavor_ram)s,