Orchestrata Ultimate › Tests › Reference › scripts › test_mint_gateway_token
Tests reference — tests/scripts/test_mint_gateway_token.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_mint_gateway_token.py
source · 8 tests · 125 lines
Tests for scripts/mint_gateway_token.py — the thin CLI shim Emacs's
Covers: gateway.auth, gateway.config
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestBuildParser |
42 | |
| method | TestBuildParser.test_default_user |
43 | |
| method | TestBuildParser.test_custom_user |
47 | |
| class | TestMainSuccess |
52 | |
| method | TestMainSuccess.test_mints_token_for_default_user |
53 | |
| method | TestMainSuccess.test_mints_token_for_custom_user |
72 | |
| method | TestMainSuccess.test_prints_only_the_token_to_stdout |
82 | |
| class | TestMainConfigUnavailable |
92 | |
| method | TestMainConfigUnavailable.test_exits_nonzero_when_required_infra_keys_are_unset |
93 | |
| method | TestMainConfigUnavailable.test_no_token_printed_on_config_failure |
106 | |
| method | TestMainConfigUnavailable.test_error_message_never_contains_a_signing_secret |
116 |