Detailed Description
A licence key is shown as its last 4 characters, each hidden character replaced by an asterisk, wherever a key or a URL that carries one is logged or raised. A key of 4 or fewer characters is replaced entirely.
Classes | |
| class | MaskTests |
| class | StandInDataFile |
| class | UpdateServiceLogTests |
Functions | |
| answer (status) | |
Variables | |
| str | KEY = "ABCDEFGHIJKL" |
| str | URL = "https://example.com/update?Type=Hash&licenseKeys=" + KEY + "&Product=V4" |
| tuple | MASKED_URL |
Function Documentation
◆ answer()
| answer | ( | status | ) |
Variable Documentation
◆ KEY
| str tests.test_licence_key_masking.KEY = "ABCDEFGHIJKL" |
◆ MASKED_URL
| tuple tests.test_licence_key_masking.MASKED_URL |
Initial value:
= (
"https://example.com/update?Type=Hash&licenseKeys=********IJKL"
"&Product=V4")
◆ URL
| str tests.test_licence_key_masking.URL = "https://example.com/update?Type=Hash&licenseKeys=" + KEY + "&Product=V4" |
