diff --git a/tests/README.md b/tests/README.md index a4b475d..67719b0 100644 --- a/tests/README.md +++ b/tests/README.md @@ -12,7 +12,7 @@ In the `dev.dependencies` section of the `pyproject.toml` file, you will see the 2. Add a `.env` file in the `tests` folder with the following content: ```bash -API_KEY=************* +CAMBIO_API_KEY=************* ``` ## Pre-commit diff --git a/tests/test.py b/tests/test.py index 2deaa4c..e66ce60 100755 --- a/tests/test.py +++ b/tests/test.py @@ -36,9 +36,9 @@ class TestAnyParser(unittest.TestCase): """Testing Any Parser""" def setUp(self): - self.api_key = os.environ.get("API_KEY") + self.api_key = os.environ.get("CAMBIO_API_KEY") if not self.api_key: - raise ValueError("API_KEY is not set") + raise ValueError("CAMBIO_API_KEY is not set") self.ap = AnyParser(self.api_key) def test_pdf_sync_extract(self):