MCPcopy Create free account
hub / github.com/Netflix/bless / test_basic_local_request

Function test_basic_local_request

tests/aws_lambda/test_bless_lambda_host.py:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def test_basic_local_request():
31 output = lambda_handler_host(VALID_TEST_REQUEST, context=Context,
32 ca_private_key_password=RSA_CA_PRIVATE_KEY_PASSWORD,
33 entropy_check=False,
34 config_file=os.path.join(os.path.dirname(__file__), 'bless-test.cfg'))
35 print(output)
36 assert output['certificate'].startswith('ssh-rsa-cert-v01@openssh.com ')
37
38
39def test_basic_local_request_with_multiple_hosts():

Callers

nothing calls this directly

Calls 1

lambda_handler_hostFunction · 0.90

Tested by

no test coverage detected