"""Configuration for functional tests.""" import os import pytest @pytest.fixture(autouse=True) def fresh_db(fresh_db, mock_statement_periods): """Automatically clear the db between tests in this folder.""" pass @pytest.fixture(autouse=True) def mock_aws_credentials(): """Mock credentials for AWS account.""" os.environ['AWS_ACCESS_KEY_ID'] = 'testing' os.environ['AWS_SECRET_ACCESS_KEY'] = 'testing' os.environ['AWS_SECURITY_TOKEN'] = 'testing' os.environ['AWS_SESSION_TOKEN'] = 'testing' os.environ['AWS_DEFAULT_REGION'] = 'us-east-1'