waft.framework_unit_tests.test_trm.test_auth_trm.test_auth_worker module¶
- waft.framework_unit_tests.test_trm.test_auth_trm.test_auth_worker.auth_worker_url()¶
Fixture to return the worker’s URL based on environment.
- waft.framework_unit_tests.test_trm.test_auth_trm.test_auth_worker.test_api_token_validity(auth_worker_url, account_id: str)¶
Test that the generated ephemeral API token is valid.
- waft.framework_unit_tests.test_trm.test_auth_trm.test_auth_worker.test_warp_auth(auth_worker_url, account_id: str)¶
Test creating a new registration using the ephemeral Access Client ID and Secret generated
- waft.framework_unit_tests.test_trm.test_auth_trm.test_auth_worker.validate_expiration_time(expiration_time: str)¶
Confirms that the given string is an ISO date format and expires between 24h and 23h55min from now.
- Parameters:
expiration_time (str) – The expiration time in ISO format.