Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 51d0213

Browse filesBrowse files
committed
Remove check for JSON result in server test test_write_points_mixed_type
1 parent 9a8b66d commit 51d0213
Copy full SHA for 51d0213

File tree

Expand file treeCollapse file tree

1 file changed

+1
-26
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-26
lines changed

‎influxdb/tests/server_tests/client_test_with_server.py

Copy file name to clipboardExpand all lines: influxdb/tests/server_tests/client_test_with_server.py
+1-26Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -365,36 +365,11 @@ def test_write_points_mixed_type(self):
365365
self.assertIs(True,
366366
self.cli.write_points(mixed_series_dummy_points_part_2))
367367

368-
client_1 = InfluxDBClient('localhost', self.influxd_inst.http_port,
369-
'root', '', database='db', use_msgpack=False)
370368
client_2 = InfluxDBClient('localhost', self.influxd_inst.http_port,
371-
'root', '', database='db', use_msgpack=True)
369+
'root', '', database='db')
372370

373-
rsp1 = client_1.query('SELECT * FROM cpu_load_short_mixed')
374371
rsp2 = client_2.query('SELECT * FROM cpu_load_short_mixed')
375372

376-
self.assertEqual(
377-
list(rsp1),
378-
[[
379-
{'value': 0.64,
380-
'time': '2009-11-10T23:00:00Z',
381-
"host": "server01",
382-
"region": "us-west"},
383-
{'value': 0.65,
384-
'time': '2009-11-10T23:01:00Z',
385-
"host": "server01",
386-
"region": "us-west"},
387-
{'value': 0.35,
388-
'time': '2009-11-10T23:02:00Z',
389-
"host": "server01",
390-
"region": "us-west"},
391-
{'value': 1,
392-
'time': '2009-11-10T23:03:00Z',
393-
"host": "server01",
394-
"region": "us-west"}
395-
]]
396-
)
397-
398373
self.assertEqual(
399374
list(rsp2),
400375
[[

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.