aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_input.py
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-08-02 11:30:27 +0800
committerHsiangNianian <i@jyunko.cn>2025-08-02 11:30:27 +0800
commitec4566c3d17370c778a1e6cd6b22ed85263731a0 (patch)
tree469258084d3ae0e72db37dd98593731ff20131e4 /tests/test_input.py
parentc68a18ca6440f6460b3b5fce311901229f8f50a9 (diff)
downloadinfini-ec4566c3d17370c778a1e6cd6b22ed85263731a0.tar.gz
infini-ec4566c3d17370c778a1e6cd6b22ed85263731a0.zip
refactor(v3): publish v3 branch
Diffstat (limited to 'tests/test_input.py')
-rw-r--r--tests/test_input.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/test_input.py b/tests/test_input.py
deleted file mode 100644
index 88a7ceb5..00000000
--- a/tests/test_input.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from infini.input import Input
-
-
-def test_new_input_without_vars():
- assert Input("test plain_str").plain_data == "test plain_str"
- assert Input("test plain_str").get_plain_text() == "test plain_str"
-
-
-def test_new_input_with_session_id():
- input = Input("test plain_str", variables={"session_id": "test"})
- assert input.get_session_id() == "test"
-
-
-def test_new_input_without_session_id():
- input = Input("test plain_str", variables={"user_id": "test"})
- assert input.get_session_id() == "test"