Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(api-test): adapt tests for error envelope HTTP status codes (#1769)
kaisonglibb63c1f457d6
diff --git a/tests/api_test/filesystem/test_fs_mv.py b/tests/api_test/filesystem/test_fs_mv.pyindex 9b5f68a3a..e333c4a19 100644--- a/tests/api_test/filesystem/test_fs_mv.py+++ b/tests/api_test/filesystem/test_fs_mv.py@@ -5,8 +5,8 @@ import uuidclass TestFsMv:def test_fs_mv(self, api_client):random_id = str(uuid.uuid4())[:8]- src_dir = f"/tmp/test-mv-src-{random_id}"- dst_dir = f"/tmp/test-mv-dst-{random_id}"+ src_dir = f"viking://resources/test-mv-src-{random_id}"+ dst_dir = f"viking://resources/test-mv-dst-{random_id}"try:response = api_client.fs_mkdir(src_dir)@@ -31,3 +31,9 @@ class TestFsMv:except Exception as e:print(f"Error: {e}")raise+ finally:+ try:+ api_client.fs_rm(dst_dir, recursive=True)+ api_client.fs_rm(src_dir, recursive=True)+ except Exception:+ passdiff --git a/tests/api_test/filesystem/test_fs_rm.py b/tests/api_test/filesystem/test_fs_rm.pyindex 327aede75..f15ae770c 100644--- a/tests/api_test/filesystem/test_fs_rm.py+++ b/tests/api_test/filesystem/test_fs_rm.py@@ -5,7 +5,7 @@ import uuidclass TestFsRm:def test_fs_rm(self, api_client):random_id = str(uuid.uuid4())[:8]- test_dir = f"/tmp/test-rm-{random_id}"+ test_dir = f"viking://resources/test-rm-{random_id}"try:response = api_client.fs_mkdir(test_dir)