From 37925c275f59a58754d48177ed4b9735a61e335d Mon Sep 17 00:00:00 2001 From: Ibis Prevedello Date: Wed, 12 Apr 2023 00:48:34 -0300 Subject: [PATCH] test: fix text scripts --- tests/data/Openapi.json | 4 ++-- tests/test_cache.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/data/Openapi.json b/tests/data/Openapi.json index 143dd6ad1..863853672 100644 --- a/tests/data/Openapi.json +++ b/tests/data/Openapi.json @@ -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": [ diff --git a/tests/test_cache.py b/tests/test_cache.py index 85559bc7b..9c6ad30e3 100644 --- a/tests/test_cache.py +++ b/tests/test_cache.py @@ -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()