Attempt to fix failing test #2

This commit is contained in:
Cedric Nugteren 2021-01-15 12:02:34 +01:00
parent 6aa0183a43
commit 62798011e3

View File

@ -1,16 +1,14 @@
# coding: utf-8 # coding: utf-8
from __future__ import unicode_literals from __future__ import absolute_import, division, unicode_literals
# Taken from https://github.com/add-ons/plugin.video.viervijfzes/blob/master/resources/lib/viervijfzes/auth_awsidp.py # Taken from https://github.com/add-ons/plugin.video.viervijfzes/blob/master/resources/lib/viervijfzes/auth_awsidp.py
# with some small modifications (replacement of six and requests, removal of unused function, reformatting) # with some small modifications (replacement of six and requests, removal of unused function, reformatting)
# This file is licensed as GPL-3 from https://github.com/add-ons/plugin.video.viervijfzes: # This file is licensed as GPL-3 from https://github.com/add-ons/plugin.video.viervijfzes:
# https://github.com/add-ons/plugin.video.viervijfzes/blob/master/LICENSE # https://github.com/add-ons/plugin.video.viervijfzes/blob/master/LICENSE
""" Amazon Cognito implementation without external dependencies """ # Amazon Cognito implementation without external dependencies
# Based on https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/channels/channel.be/vier/awsidp.py # Based on https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/channels/channel.be/vier/awsidp.py
from __future__ import absolute_import, division
import base64 import base64
import binascii import binascii
import datetime import datetime