Skip to content

Commit

Permalink
tests: set fake aws keys for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Askir committed Feb 5, 2025
1 parent 220aafa commit 9af8756
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from pathlib import Path
from typing import Any

from dotenv import load_dotenv
from psycopg import Connection
from psycopg.rows import dict_row

Expand Down Expand Up @@ -126,7 +125,8 @@ def test_simple_document_embedding_s3(
vectorizer_id = configure_document_vectorizer(
cli_db[1], base_path="s3://adol-docs-test"
)
load_dotenv()
os.environ["AWS_ACCESS_KEY_ID"] = "FAKE"
os.environ["AWS_SECRET_ACCESS_KEY"] = "FAKE"

with vcr_.use_cassette("simple-s3-docs.yaml"):
result = run_vectorizer_worker(cli_db_url, vectorizer_id)
Expand Down

0 comments on commit 9af8756

Please sign in to comment.