Skip to content

Commit 84848ae

Browse files
committed
minor fixes
1 parent 47d0202 commit 84848ae

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44

55

66
import os
7-
from distutils.core import setup
7+
import setuptools
88
from testingbotclient import __version__
99

1010

11-
setup(
11+
setuptools.setup(
1212
name='testingbotclient',
1313
version=__version__,
1414
py_modules=['testingbotclient'],
1515
author='TestingBot',
16-
author_email='info _at_ testingbot.com',
16+
author_email='info@testingbot.com',
1717
description='Python client library for TestingBot API.',
1818
long_description='Update test details on TestingBot.com with this library. Set success state/name of test after running the Selenium test.',
1919
url='https://github.com/testingbot/testingbotclient',

testingbotclient.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
import json
66
import os
7-
__version__ = '0.0.5'
7+
__version__ = '0.0.6'
88

99
is_py2 = sys.version_info[0] is 2
1010

@@ -66,8 +66,7 @@ def request(self, method, url, body=None):
6666

6767
def get_encoded_auth_string(self):
6868
auth_info = '%s:%s' % (self.testingbotKey, self.testingbotSecret)
69-
base64string = base64.b64encode(auth_info.encode(encoding='UTF-8')).decode(encoding='UTF-8')
70-
return base64string
69+
return base64.b64encode(auth_info.encode('utf-8')).decode('utf-8')
7170

7271

7372
class Tests(object):

0 commit comments

Comments
 (0)