test: fix text scripts
This commit is contained in:
parent
c69e5a72f0
commit
37925c275f
2 changed files with 3 additions and 3 deletions
|
|
@ -206,7 +206,7 @@
|
|||
"type": "JsonSpec",
|
||||
"node": {
|
||||
"template": {
|
||||
"dict_": {
|
||||
"path": {
|
||||
"required": true,
|
||||
"placeholder": "",
|
||||
"show": true,
|
||||
|
|
@ -218,7 +218,7 @@
|
|||
".yml"
|
||||
],
|
||||
"password": false,
|
||||
"name": "dict_",
|
||||
"name": "path",
|
||||
"type": "file",
|
||||
"list": false,
|
||||
"fileTypes": [
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ def test_cache_creation(basic_data_graph):
|
|||
)
|
||||
save_cache(computed_hash, langchain_object, is_first_message)
|
||||
# Check if the cache file exists
|
||||
cache_file = Path(tempfile.gettempdir()) / f"{PREFIX}_{computed_hash}.dill"
|
||||
cache_file = Path(tempfile.gettempdir()) / f"{PREFIX}/{computed_hash}.dill"
|
||||
|
||||
assert cache_file.exists()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue