vault.test package

Submodules

vault.test.test_secrets_handler module

class vault.test.test_secrets_handler.DCOSSecretsValueValidation(methodName='runTest')

Bases: django.test.testcases.TestCase

Tests setting and receiving secrets

dcos_setup(*args, **keywargs)
mocked_get_secret(*args)
mocked_request_setup()
setUp()
test_dcos_get_bad_secret(*args, **keywargs)
test_dcos_get_secret(*args, **keywargs)
class vault.test.test_secrets_handler.SecretsBackendValidation(methodName='runTest')

Bases: django.test.testcases.TestCase

Tests performing requests to the secrets backend

mocked_validate(*args)
setUp()
test_dcos_authenticate_bad_token(*args, **keywargs)
test_dcos_authenticate_good_return(*args, **keywargs)
test_vault_authenticate_bad_permission(*args, **keywargs)
test_vault_authenticate_good_return(*args, **keywargs)
class vault.test.test_secrets_handler.VaultSecretsValueValidation(methodName='runTest')

Bases: django.test.testcases.TestCase

Tests setting and receiving secrets

mocked_get_secret(*args)
mocked_request_setup()
setUp()
test_vault_get_bad_secret(*args, **keywargs)
test_vault_get_secret(*args, **keywargs)
vault_setup(*args, **keywargs)

Module contents