tests.test_eds_auth module

class tests.test_eds_auth.TestEdsAuth(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_from_credentials(mock_read_credentials, mock_get_client)[source]
test_get_access_token(mock_post)[source]
test_missing_credentials()[source]
test_parse_dict()[source]
test_parse_from_environment(mock_getenv)[source]
test_parse_json_file(mock_open_file)[source]
test_parse_tuple()[source]
test_read_credentials_from_environment(mock_getenv)[source]
test_read_credentials_from_ini(mock_exists, mock_open)[source]
test_read_credentials_from_json(mock_read_json)[source]
test_read_credentials_from_toml(mock_read_toml)[source]