Skip to content

Commit 9606be9

Browse files
committed
Fix generator typing
1 parent 6f46c88 commit 9606be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flare/tests/bin/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ def mock_config_file(tmp_path: Path) -> Path:
106106

107107

108108
@pytest.fixture
109-
def mock_env(mock_config_file: Path) -> Generator[None]:
109+
def mock_env(mock_config_file: Path) -> Generator[None, None, None]:
110110
# Mocks environment variable and file interactions.
111111
with mock.patch.dict(os.environ, {"SPLUNK_HOME": str(mock_config_file.parent)}):
112112
with mock.patch("builtins.open", mock.mock_open(read_data="[metadata]\n")):
113113
yield
114114

115115

116116
@pytest.fixture
117-
def data_store(mock_env: None) -> Generator[ConfigDataStore]:
117+
def data_store(mock_env: None) -> Generator[ConfigDataStore, None, None]:
118118
# Reset singleton instance
119119
ConfigDataStore._instance = None
120120

0 commit comments

Comments
 (0)