add simple test to make a PR to check CodeCov

This commit is contained in:
Anton Larin
2023-09-04 18:01:11 +02:00
parent 9d91b6f780
commit de40e733ec

View File

@@ -1,4 +1,4 @@
from application.app import get_vectorstore from application.app import get_vectorstore, is_azure_configured
import os import os
@@ -26,3 +26,7 @@ def test_default_active_docs():
def test_complex_active_docs(): def test_complex_active_docs():
data = {"active_docs": "local/other/path"} data = {"active_docs": "local/other/path"}
assert get_vectorstore(data) == os.path.join("application", "indexes/local/other/path") assert get_vectorstore(data) == os.path.join("application", "indexes/local/other/path")
def test_is_asure_configured():
assert not is_azure_configured()