From d38ba0d36a6281cb708f27ee7d0cafab655513ef Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Tue, 9 Feb 2016 18:48:02 +0000 Subject: [PATCH] bumped client version --- app/authentication/auth.py | 4 ++-- requirements.txt | 2 +- tests/__init__.py | 2 +- tests/app/authentication/test_authentication.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/authentication/auth.py b/app/authentication/auth.py index e80e6f8a7..8a919fdf6 100644 --- a/app/authentication/auth.py +++ b/app/authentication/auth.py @@ -1,6 +1,6 @@ from flask import request, jsonify, _request_ctx_stack, current_app -from client.authentication import decode_jwt_token, get_token_issuer -from client.errors import TokenDecodeError, TokenRequestError, TokenExpiredError, TokenPayloadError +from notifications_python_client.authentication import decode_jwt_token, get_token_issuer +from notifications_python_client.errors import TokenDecodeError, TokenRequestError, TokenExpiredError, TokenPayloadError from app.dao.api_key_dao import get_unsigned_secrets diff --git a/requirements.txt b/requirements.txt index 8c297ceea..a6c759bc3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,6 @@ Flask-Bcrypt==0.6.2 credstash==1.8.0 boto3==1.2.3 -git+https://github.com/alphagov/notifications-python-client.git@0.2.1#egg=notifications-python-client==0.2.1 +git+https://github.com/alphagov/notifications-python-client.git@0.2.5#egg=notifications-python-client==0.2.5 git+https://github.com/alphagov/notifications-utils.git@0.0.3#egg=notifications-utils==0.0.3 diff --git a/tests/__init__.py b/tests/__init__.py index e76b036be..7491049d4 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ from flask import current_app -from client.authentication import create_jwt_token +from notifications_python_client.authentication import create_jwt_token from app.dao.api_key_dao import get_unsigned_secrets diff --git a/tests/app/authentication/test_authentication.py b/tests/app/authentication/test_authentication.py index 74c67c4ef..18156f9e2 100644 --- a/tests/app/authentication/test_authentication.py +++ b/tests/app/authentication/test_authentication.py @@ -1,6 +1,6 @@ from datetime import datetime, timedelta -from client.authentication import create_jwt_token +from notifications_python_client.authentication import create_jwt_token from flask import json, url_for, current_app from app.dao.api_key_dao import get_unsigned_secrets, save_model_api_key, get_unsigned_secret from app.models import ApiKey, Service