From 76dcd6d72a351468e55896604be60611948c7967 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Mon, 8 Jun 2020 07:49:58 -0400 Subject: [PATCH] Fixing scooby doo fingers --- awx_collection/plugins/modules/tower_token.py | 2 +- awx_collection/test/awx/test_token.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx_collection/plugins/modules/tower_token.py b/awx_collection/plugins/modules/tower_token.py index 3be5cebde5..d8300a048e 100644 --- a/awx_collection/plugins/modules/tower_token.py +++ b/awx_collection/plugins/modules/tower_token.py @@ -98,7 +98,7 @@ EXAMPLES = ''' when: tower_token is defined - name: Delete a token by its id - tower_toekn: + tower_token: existing_token_id: 4 state: absent ''' diff --git a/awx_collection/test/awx/test_token.py b/awx_collection/test/awx/test_token.py index e3f1d2a8c1..442fa2e9fb 100644 --- a/awx_collection/test/awx/test_token.py +++ b/awx_collection/test/awx/test_token.py @@ -25,5 +25,5 @@ def test_create_token(run_module, admin_user): assert result.get('changed'), result tokens = OAuth2AccessToken.objects.filter(description='barfoo') - assert len(tokens) == 1, 'Rokens with description of barfoo != 0: {0}'.format(len(tokens)) + assert len(tokens) == 1, 'Tokens with description of barfoo != 0: {0}'.format(len(tokens)) assert tokens[0].scope == 'read', 'Token was not given read access'