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
This commit is contained in:
@@ -28,7 +28,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
resp = {
|
resp = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
},
|
},
|
||||||
"serviceCatalog": [
|
"serviceCatalog": [
|
||||||
@@ -95,7 +95,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
resp = {
|
resp = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
"tenant": {
|
"tenant": {
|
||||||
"description": None,
|
"description": None,
|
||||||
@@ -186,7 +186,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
dict_correct_response = {
|
dict_correct_response = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
},
|
},
|
||||||
"serviceCatalog": [
|
"serviceCatalog": [
|
||||||
|
@@ -31,7 +31,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
resp = {
|
resp = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
},
|
},
|
||||||
"serviceCatalog": [
|
"serviceCatalog": [
|
||||||
@@ -98,7 +98,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
resp = {
|
resp = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
"tenant": {
|
"tenant": {
|
||||||
"description": None,
|
"description": None,
|
||||||
@@ -189,7 +189,7 @@ class AuthenticateAgainstKeystoneTests(utils.TestCase):
|
|||||||
dict_correct_response = {
|
dict_correct_response = {
|
||||||
"access": {
|
"access": {
|
||||||
"token": {
|
"token": {
|
||||||
"expires": "12345",
|
"expires": "2014-11-01T03:32:15-05:00",
|
||||||
"id": "FAKE_ID",
|
"id": "FAKE_ID",
|
||||||
},
|
},
|
||||||
"serviceCatalog": [
|
"serviceCatalog": [
|
||||||
|
Reference in New Issue
Block a user