Skip to content

Commit 3ea827c

Browse files
wip
1 parent bb3f19c commit 3ea827c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_influxdb_client_3_integration.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,18 @@ def test_auth_error_token(self):
6464
test_id = time.time_ns()
6565
with self.assertRaises(InfluxDBError) as err:
6666
self.client.write(f"integration_test_python,type=used value=123.0,test_id={test_id}i")
67-
self.assertEqual('Authorization header was malformed, the request was not in the form of \'Authorization: <auth-scheme> <token>\', supported auth-schemes are Bearer, Token and Basic', err.exception.message) # Cloud
67+
self.assertEqual('Authorization header was malformed, the request was not in the form of '
68+
'\'Authorization: <auth-scheme> <token>\', supported auth-schemes are Bearer, Token and Basic',
69+
err.exception.message) # Cloud
6870

6971
def test_auth_error_auth_scheme(self):
7072
self.client = InfluxDBClient3(host=self.host, database=self.database, token=self.token, auth_scheme='Any')
7173
test_id = time.time_ns()
7274
with self.assertRaises(InfluxDBError) as err:
7375
self.client.write(f"integration_test_python,type=used value=123.0,test_id={test_id}i")
74-
self.assertEqual('Authorization header was malformed, the request was not in the form of \'Authorization: <auth-scheme> <token>\', supported auth-schemes are Bearer, Token and Basic', err.exception.message) # Cloud
76+
self.assertEqual('Authorization header was malformed, the request was not in the form of '
77+
'\'Authorization: <auth-scheme> <token>\', supported auth-schemes are Bearer, Token and Basic',
78+
err.exception.message) # Cloud
7579

7680
def test_error_headers(self):
7781
self.client = InfluxDBClient3(host=self.host, database=self.database, token=self.token)

0 commit comments

Comments
 (0)