Set default value of pat_token in conftest.py to be empty string

This commit is contained in:
Saba
2023-06-13 17:03:03 -07:00
parent 751edfefe5
commit 07ade2262a

View File

@@ -91,7 +91,7 @@ def content_config(tmp_path_factory, search_config: SearchConfig):
} }
content_config.github = GithubContentConfig( content_config.github = GithubContentConfig(
pat_token=os.getenv("GITHUB_PAT_TOKEN"), pat_token=os.getenv("GITHUB_PAT_TOKEN", ""),
repo_name="lantern", repo_name="lantern",
repo_owner="khoj-ai", repo_owner="khoj-ai",
repo_branch="master", repo_branch="master",