Fix stable/train gates

This patch is a partial backport of

https://review.opendev.org/#/c/685492/

This patch includes the date fixes for the functional tests and
a documentation fix.

Change-Id: Id91f44e8053cf4f40224959021d43736d5525107
(cherry picked from commit b8266ef402)
This commit is contained in:
Douglas Mendizábal 2020-10-29 15:18:10 -05:00
parent 07be1986b4
commit 2c87760688
8 changed files with 11 additions and 11 deletions

View File

@ -43,7 +43,7 @@ data models.
.. autoclass:: GenerateDTO
.. autoclass:: GenerateDTO
.. autoclass:: ResponseDTO
Plugin Base Class
=================

View File

@ -334,7 +334,7 @@ class AclTestCase(base.TestCase):
secret_no_payload = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
create_secret_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -109,7 +109,7 @@ class BaseContainerTestCase(base.TestCase):
def _create_a_secret(self):
secret_defaults_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",
@ -389,7 +389,7 @@ class ContainersPagingTestCase(base.PagingTestCase):
def _create_a_secret(self):
secret_defaults_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -84,7 +84,7 @@ def get_passphrase_req():
def get_default_data():
return {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",
@ -135,7 +135,7 @@ class SecretsTestCase(base.TestCase):
self.default_secret_create_two_phase_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
create_secret_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -23,7 +23,7 @@ from functionaltests.api.v1.models import secret_models
create_secret_defaults_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",

View File

@ -24,7 +24,7 @@ from functionaltests.api.v1.models import secret_models
default_secret_create_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",
@ -61,7 +61,7 @@ default_secret_create_emptystrings_data = {
default_secret_create_two_phase_data = {
"name": "AES key",
"expiration": "2020-02-28T19:14:44.180394",
"expiration": "2030-02-28T19:14:44.180394",
"algorithm": "aes",
"bit_length": 256,
"mode": "cbc",