summaryrefslogtreecommitdiff
path: root/nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2014-04-29 12:28:32 +0100
committerMark McLoughlin <markmc@redhat.com>2014-04-29 14:51:27 +0100
commit71b78c71babaa300a688a638e491537e65a2e77e (patch)
tree52a2a33fb5ffbefb97e8a3cd07368839ad8b8a9e /nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl
parent2c3d2814cad49c70b207f2e4aaffb6b8bcb510f6 (diff)
downloadnova-71b78c71babaa300a688a638e491537e65a2e77e.tar.gz
Verify created/updated timestamps are isotime
We format these timestamps using timeutils.isotime() in the server view builder, so we should check that in the API sample tests rather than using the generic timestamp regexp. Full context here: http://lists.openstack.org/pipermail/openstack-dev/2014-April/033971.html Change-Id: Id55f13d8163249275220151dd88c67b47e6176c9
Diffstat (limited to 'nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl')
-rw-r--r--nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl b/nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl
index b307bc6c20..e76726d2c6 100644
--- a/nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl
+++ b/nova/tests/integrated/v3/api_samples/all_extensions/servers-details-resp.json.tpl
@@ -13,7 +13,7 @@
}
]
},
- "created": "%(timestamp)s",
+ "created": "%(isotime)s",
"flavor": {
"id": "1",
"links": [
@@ -70,7 +70,7 @@
],
"status": "ACTIVE",
"tenant_id": "openstack",
- "updated": "%(timestamp)s",
+ "updated": "%(isotime)s",
"user_id": "fake"
}
]