Skip to content

Commit

Permalink
try IT
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Oct 14, 2024
1 parent 4c6bb35 commit 4d54792
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,12 @@ def session_test(use_session_pool=False):

session.insert_records(
[device_id],
[11],
[11, 12],
[measurements_new_type],
[data_types_new_type],
[
[date(1971, 1, 1), 11, b"\x12\x34", "test11"],
[None, 12, b"\x12\x34", "test12"],
],
)

Expand All @@ -170,7 +171,7 @@ def session_test(use_session_pool=False):
while dataset.has_next():
cnt += 1
print(dataset.next())
assert cnt == 1
assert cnt == 2

# close session connection.
session.close()

0 comments on commit 4d54792

Please sign in to comment.