From d90721b40efa2fe4e8ca6c16a1f51090dc5f878f Mon Sep 17 00:00:00 2001 From: Dominic Henry Date: Sat, 31 Oct 2020 17:31:06 -0500 Subject: [PATCH] Addition fixes to #400 __Issue__: Issue when running tests in `tests/pattoo_/api/web/` __Fix__: An error ocurred due to inconsistent spelling of access for access_token in each file in `tests/pattoo_/api/web/`. Resolves: #400 --- tests/libraries/configuration.py | 2 +- tests/pattoo_/api/web/test_graphql.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libraries/configuration.py b/tests/libraries/configuration.py index 49a3964d..011084cb 100644 --- a/tests/libraries/configuration.py +++ b/tests/libraries/configuration.py @@ -150,7 +150,7 @@ def __init__(self): 'ip_listen_address': '127.0.0.1', 'ip_bind_port': 40202, 'jwt_secret_key': secrets.token_urlsafe(64), - 'acesss_token_exp': '15_m', + 'access_token_exp': '15_m', 'refresh_token_exp': '1_D' }, 'pattoo_ingesterd': { diff --git a/tests/pattoo_/api/web/test_graphql.py b/tests/pattoo_/api/web/test_graphql.py index 7489510e..8f6e1d19 100644 --- a/tests/pattoo_/api/web/test_graphql.py +++ b/tests/pattoo_/api/web/test_graphql.py @@ -124,7 +124,7 @@ def test_route_graphql(self): } user.insert_row(DbRowUser(**test_admin)) - # Get accesss token to make test queries + # Get access token to make test queries acesss_query = ('''\ mutation{ authenticate(Input: {username: "USERNAME", password: "PASSWORD"}) {