move tests in tests/ directory (#39569)

This commit is contained in:
Emmanuel Cazenave 2020-02-05 15:49:05 +01:00
parent 3803186e33
commit 48fcc18e68
1 changed files with 1 additions and 1 deletions

View File

@ -93,4 +93,4 @@ class ConnectionTest(TestCase):
with self.assertRaises(APIError) as e:
with httmock.HTTMock(self.hebe_http_error):
self.connector.sig_request('commune')
self.assertEqual(e.exception.message, "endpoint 'commune' returned status code: 500")
self.assertEqual(str(e.exception), "endpoint 'commune' returned status code: 500")