Modify the error fake date

Accroding to  the document decribed, modify the error fake date.
https://docs.openstack.org/api-ref/block-storage/v3/#update-a-backup
https://docs.openstack.org/api-ref/block-storage/v3/index.html#list-backups-for-project
https://docs.openstack.org/api-ref/block-storage/v3/index.html#list-backups-with-detail

Change-Id: I01ab3bb3eab768123cd0845f6732f52d6ee7cfbe
This commit is contained in:
wanglbj 2019-10-22 14:00:28 +08:00
parent 7fdd39c6db
commit d51fd424c7
1 changed files with 13 additions and 1 deletions

View File

@ -60,8 +60,11 @@ class TestBackupsClient(base.BaseServiceTest):
],
"name": "backup001",
"object_count": 22,
"os-backup-project-attr:project_id": "2c67a14be9314c5dae2ee6",
"user_id": "515ba0dd59f84f25a6a084a45d8d93b2",
"size": 1,
"status": "available",
"updated_at": "2013-04-02T10:35:27.000000",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": True,
"has_dependent_backups": False
@ -73,7 +76,16 @@ class TestBackupsClient(base.BaseServiceTest):
"backup": {
"id": "4c65c15f-a5c5-464b-b92a-90e4c04636a7",
"name": "fake-backup-name",
"links": "fake-links"
"links": [
{
"href": "fake-url-1",
"rel": "self"
},
{
"href": "fake-url-2",
"rel": "bookmark"
}
]
}
}