aboutsummaryrefslogtreecommitdiff
path: root/autogpts/autogpt/tests/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'autogpts/autogpt/tests/context.py')
-rw-r--r--autogpts/autogpt/tests/context.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogpts/autogpt/tests/context.py b/autogpts/autogpt/tests/context.py
new file mode 100644
index 000000000..0d531468d
--- /dev/null
+++ b/autogpts/autogpt/tests/context.py
@@ -0,0 +1,7 @@
+import os
+import sys
+
+# Add the scripts directory to the path so that we can import the browse module.
+sys.path.insert(
+ 0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../scripts"))
+)