This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 34577f3169 [IOTDB-3664] Modify python client test code (#6465)
34577f3169 is described below
commit 34577f3169d6a510f629daaa2390455a0091cc4d
Author: Tom <[email protected]>
AuthorDate: Mon Jun 27 21:49:19 2022 +0800
[IOTDB-3664] Modify python client test code (#6465)
Co-authored-by: jade.deng <[email protected]>
---
client-py/tests/test_template.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client-py/tests/test_template.py b/client-py/tests/test_template.py
index 1dd328fdb2..bd9524e326 100644
--- a/client-py/tests/test_template.py
+++ b/client-py/tests/test_template.py
@@ -185,9 +185,10 @@ def test_set_template():
session.create_schema_template(template)
session.set_schema_template(template_name, "root.python.GPS")
+ session.execute_non_query_statement("create timeseries of schema
template on root.python.GPS")
assert session.show_paths_template_set_on(template_name) ==
["root.python.GPS"]
- assert session.show_paths_template_using_on(template_name) == []
+ assert session.show_paths_template_using_on(template_name) ==
["root.python.GPS"]
session.unset_schema_template(template_name, "root.python.GPS")
session.drop_schema_template(template_name)