We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab1698 commit e0b8b7eCopy full SHA for e0b8b7e
tests/memories/textual/test_general.py
@@ -1,5 +1,6 @@
1
# TODO: Overcomplex. Use pytest fixtures instead of setUp/tearDown.
2
import json
3
+import os
4
import unittest
5
import uuid
6
@@ -455,9 +456,9 @@ def test_load(self):
455
456
457
def test_dump(self):
458
"""Test dump functionality for GeneralTextMemory."""
- test_dir = "/test/directory"
459
+ test_dir = "test/directory"
460
memory_filename = "textual_memory.json"
- memory_file_path = test_dir + "/" + memory_filename
461
+ memory_file_path = os.path.join(test_dir, memory_filename)
462
463
# Set the config's memory_filename
464
self.config.memory_filename = memory_filename
0 commit comments