From 56eaaf8e1c78f94dea6951d2d8ddeac0f6d2e682 Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Fri, 4 Apr 2014 11:59:38 +1000 Subject: Use real timestamps in authentication tests Using a non time string means it won't be correctly parsed by anything in keystoneclient trying to read those auth responses. Change-Id: I6db79d3cf7596044a281cc85de014691f81c1fd1 Blueprint: use-session --- cinderclient/tests/v1/test_auth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cinderclient/tests/v1') diff --git a/cinderclient/tests/v1/test_auth.py b/cinderclient/tests/v1/test_auth.py index 2e8a865..290bf2c 100644 --- a/cinderclient/tests/v1/test_auth.py +++ b/cinderclient/tests/v1/test_auth.py @@ -28,7 +28,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase): resp = { "access": { "token": { - "expires": "12345", + "expires": "2014-11-01T03:32:15-05:00", "id": "FAKE_ID", }, "serviceCatalog": [ @@ -95,7 +95,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase): resp = { "access": { "token": { - "expires": "12345", + "expires": "2014-11-01T03:32:15-05:00", "id": "FAKE_ID", "tenant": { "description": None, @@ -186,7 +186,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase): dict_correct_response = { "access": { "token": { - "expires": "12345", + "expires": "2014-11-01T03:32:15-05:00", "id": "FAKE_ID", }, "serviceCatalog": [ -- cgit v1.2.1