You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/influxdb/helper_test.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ class Meta:
18
18
series_name='events.stats.{server_name}'
19
19
fields= ['time', 'server_name']
20
20
bulk_size=5
21
+
autocommit=False
21
22
22
23
TestSeriesHelper.MySeriesHelper=MySeriesHelper
23
24
@@ -35,7 +36,8 @@ def testSingleSeriesName(self):
35
36
[156, 'us.east-1']],
36
37
'name': 'events.stats.us.east-1',
37
38
'columns': ['time', 'server_name']}]
38
-
self.assertListEqual(TestSeriesHelper.MySeriesHelper._json_body_(), expectation, 'Invalid JSON body of time series returned from _json_body_ for one series name.')
self.assertListEqual(TestSeriesHelper.MySeriesHelper._json_body_(), expectation, 'Invalid JSON body of time series returned from _json_body_ for several series names.')
0 commit comments