Skip to content

Commit e7eca1a

Browse files
fix: update URL path prefix in test_url_with_path_prefix test
1 parent 6c7f642 commit e7eca1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_influxdb_client_3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ def test_get_version_fail(self):
354354

355355
def test_url_with_path_prefix(self):
356356
server = self.http_server
357-
server.expect_request('/prefix/ping').respond_with_json(
357+
server.expect_request('/prefix/prefix1/ping').respond_with_json(
358358
response_json={"version": "3.0"},
359359
)
360360
version = InfluxDBClient3(
361-
host=f'http://{server.host}:{server.port}/prefix',
361+
host=f'http://{server.host}:{server.port}/prefix/prefix1',
362362
org="ORG",
363363
database="DB",
364364
token="TOKEN"

0 commit comments

Comments
 (0)