From: =?utf-8?q?Jussi_Heikkil=C3=A4?= <jussih@gmail.com>
Date: Sat, 27 Oct 2018 23:18:54 +0300
Subject: python 3.7 compatibility

Tests pass with updated HTTPretty. Also updated pylint to python 3.6+
compatible version.
---
 .travis.yml       | 6 ++----
 requirements.txt  | 4 ++--
 tests/test_mex.py | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6003951..1d4ceff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,13 +4,11 @@ python:
   - "2.7"
   - "3.5"
   - "3.6"
+  - "3.7"
 install:
   - pip install -r requirements.txt
 script:
-  - # PyLint does not yet support Python 3.6 https://github.com/PyCQA/pylint/issues/1241
-    if [ "$TRAVIS_PYTHON_VERSION" != "3.6" ]; then
-      pylint adal;
-    fi
+  - pylint adal
   - python -m unittest discover -s tests
 
 deploy:
diff --git a/requirements.txt b/requirements.txt
index 14780bb..1d0089c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,5 +5,5 @@ python-dateutil==2.1.0
 #1.1.0 is the first that can be installed on windows
 cryptography==2.3.0
 #for testing
-httpretty==0.8.14
-pylint==1.5.4
+httpretty==0.9.5
+pylint==1.9.3
diff --git a/tests/test_mex.py b/tests/test_mex.py
index 7c0e3b0..f347828 100644
--- a/tests/test_mex.py
+++ b/tests/test_mex.py
@@ -52,7 +52,7 @@ class Test_Mex(unittest.TestCase):
             mex.discover()
             self.fail('No exception was thrown caused by failed request')
         except Exception as exp:
-            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: HTTPretty :)')
+            self.assertEqual(exp.args[0], 'Mex Get request returned http error: 500 and server response: {"message": "HTTPretty :)"}')
 
     @httpretty.activate
     def _happyPathTest(self, file_name, expectedUrl):
