test: fixed imports

This commit is contained in:
Tymec
2023-04-15 01:34:51 +02:00
parent 753394228a
commit 6c9ec32195

View File

@@ -1,11 +1,8 @@
import os
import sys
# Probably a better way:
sys.path.append(os.path.abspath('../scripts'))
from memory.base import get_embedding
from config import Config
import unittest
from autogpt.config import Config
from autogpt.memory.base import get_embedding
# Required, because the get_embedding function uses it
cfg = Config()