# Path: deckhand/tests/test_utils.py
# def rand_uuid_hex():
# def rand_name(name='', prefix='deckhand'):
# def rand_bool():
# def rand_int(min, max):
# def rand_password(length=15):


import abc
import copy
import six
from oslo_log import log as logging
from deckhand.tests import test_utils
            "storagePolicy": "",
        },
        "schema": "deckhand/%s/v1"
    }

    def __init__(self):
        """Constructor for ``DocumentSecretFactory``.

        Returns a template whose YAML representation is of the form::

            ---
            schema: deckhand/Certificate/v1
            metadata:
              schema: metadata/Document/v1
              name: application-api
              storagePolicy: cleartext
            data: |-
              -----BEGIN CERTIFICATE-----
              MIIDYDCCAkigAwIBAgIUKG41PW4VtiphzASAMY4/3hL8OtAwDQYJKoZIhvcNAQEL
              ...snip...
              P3WT9CfFARnsw2nKjnglQcwKkKLYip0WY2wh3FE7nrQZP6xKNaSRlh6p2pCGwwwH
              HkvVwA==
              -----END CERTIFICATE-----
            ...
        """

    def gen_test(self, schema, storage_policy, data=None, name=None):
        if data is None:
            data = test_utils.rand_password()
        if name is None:

# Path: deckhand/tests/test_utils.py
# def rand_uuid_hex():
# def rand_name(name='', prefix='deckhand'):
# def rand_bool():
# def rand_int(min, max):
# def rand_password(length=15):


# Path: deckhand/factories.py
import abc
import copy
import six
from oslo_log import log as logging
from deckhand.tests import test_utils

            "storagePolicy": "",
        },
        "schema": "deckhand/%s/v1"
    }

    def __init__(self):
        """Constructor for ``DocumentSecretFactory``.

        Returns a template whose YAML representation is of the form::

            ---
            schema: deckhand/Certificate/v1
            metadata:
              schema: metadata/Document/v1
              name: application-api
              storagePolicy: cleartext
            data: |-
              -----BEGIN CERTIFICATE-----
              MIIDYDCCAkigAwIBAgIUKG41PW4VtiphzASAMY4/3hL8OtAwDQYJKoZIhvcNAQEL
              ...snip...
              P3WT9CfFARnsw2nKjnglQcwKkKLYip0WY2wh3FE7nrQZP6xKNaSRlh6p2pCGwwwH
              HkvVwA==
              -----END CERTIFICATE-----
            ...
        """

    def gen_test(self, schema, storage_policy, data=None, name=None):
        if data is None:
            data = test_utils.rand_password()
        if name is None:

            name = test_utils.rand_name('document')