From d6afbac57f8982b981ad5afbcbf1a6434d4e4d01 Mon Sep 17 00:00:00 2001 From: Rob Cresswell Date: Fri, 8 Apr 2016 10:43:16 +0100 Subject: [PATCH] Fix time in Nova test data A recent update to python-novaclient seems to have highlighted some incorrect test data, causing our tests to fail. This patch fixes the time format. Change-Id: I32a1e54205dd31176c0b7798597b63df544f8d38 Closes-Bug: 1567634 --- openstack_dashboard/test/test_data/nova_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_dashboard/test/test_data/nova_data.py b/openstack_dashboard/test/test_data/nova_data.py index 86968f6c16..d4321425f3 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,