File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments