Skip to content

Commit 48e08a1

Browse files
author
Grégory Starck
committed
Add: implemented a "real" client test module.
By *real* we mean : one which really connect to a server instance.
1 parent 8d7098e commit 48e08a1

File tree

5 files changed

+748
-1
lines changed

5 files changed

+748
-1
lines changed

tests/influxdb/client_test.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# -*- coding: utf-8 -*-
22
"""
3-
unit tests
3+
unit tests for the InfluxDBClient.
4+
5+
NB/WARNING :
6+
This module implements tests for the InfluxDBClient class
7+
but does so
8+
+ without any server instance running
9+
+ by mocking all the expected responses.
10+
11+
So any change of (response format from) the server will **NOT** be
12+
detected by this module.
13+
14+
See client_test_with_server.py for tests against a running server instance.
15+
416
"""
517
import json
618
import requests

0 commit comments

Comments
 (0)