mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-26 09:51:48 -05:00
makes censor characters consistent
This commit is contained in:
@@ -19,3 +19,4 @@ PRIVILEGE_ESCALATION_METHODS = [
|
||||
ANSI_SGR_PATTERN = re.compile(r'\x1b\[[0-9;]*m')
|
||||
CAN_CANCEL = ('new', 'pending', 'waiting', 'running')
|
||||
ACTIVE_STATES = CAN_CANCEL
|
||||
TOKEN_CENSOR = '************'
|
||||
|
||||
@@ -115,7 +115,7 @@ def test_oauth_token_create(oauth_application, get, post, admin):
|
||||
)
|
||||
assert response.data['summary_fields']['tokens']['count'] == 1
|
||||
assert response.data['summary_fields']['tokens']['results'][0] == {
|
||||
'id': token.pk, 'scope': token.scope, 'token': '**************'
|
||||
'id': token.pk, 'scope': token.scope, 'token': '************'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user