"""Conftest file for all tests.""" from unittest.mock import patch import pytest @pytest.fixture def mock_get_all_feature_flags(): all_features = {'insights_chart_youtube_daily': 'control', 'insights_chart_amazon_weekly': 'enabled', 'pet': 'dog'} with patch('charts.features.get_all_feature_flags') as get_all_feature_flags: get_all_feature_flags.return_value = all_features yield get_all_feature_flags pytest_plugins = [ "tests.unit.fixtures.permissions", ]