Browse Source

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)
changes/47/760447/1
Douglas Mendizábal 2 months ago
parent
commit
2c87760688
8 changed files with 11 additions and 11 deletions
  1. +1
    -1
      doc/source/contributor/plugin/crypto.rst
  2. +1
    -1
      functionaltests/api/v1/functional/test_acls.py
  3. +1
    -1
      functionaltests/api/v1/functional/test_consumers.py
  4. +2
    -2
      functionaltests/api/v1/functional/test_containers.py
  5. +2
    -2
      functionaltests/api/v1/functional/test_secrets.py
  6. +1
    -1
      functionaltests/api/v1/smoke/test_consumers.py
  7. +1
    -1
      functionaltests/api/v1/smoke/test_containers.py
  8. +2
    -2
      functionaltests/api/v1/smoke/test_secrets.py

+ 1
- 1
doc/source/contributor/plugin/crypto.rst View File

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


+ 1
- 1
functionaltests/api/v1/functional/test_acls.py 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",


+ 1
- 1
functionaltests/api/v1/functional/test_consumers.py 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",


+ 2
- 2
functionaltests/api/v1/functional/test_containers.py 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",


+ 2
- 2
functionaltests/api/v1/functional/test_secrets.py 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",


+ 1
- 1
functionaltests/api/v1/smoke/test_consumers.py 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",


+ 1
- 1
functionaltests/api/v1/smoke/test_containers.py 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",


+ 2
- 2
functionaltests/api/v1/smoke/test_secrets.py 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",


Loading…
Cancel
Save