tests.test_auth module

Test Earth Data Store authentification module. Credentials must be defined in environment variables or in the default credentials in order for the test to work.

class tests.test_auth.TestAuth(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() None[source]

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

tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

test_from_environment() None[source]
test_from_input_profile() None[source]
test_from_json() None[source]