from . import DataImporter from typing import List, Tuple class MockDataImporter( DataImporter ): """ Mock data importer, does not retrieve any data Only useful for testing """ @classmethod def name( cls ): return "mock" @classmethod def verify( cls, config: dict, path: str ) -> Tuple[bool, List[str]]: """ Verifies that the configuration is correct Args: config: dict with password manager configuration path: path to the "config" dict in the main configuration file Returns: bool: true if the config is correct List[str]: list of errors if the config is not correct """ return (True, []) def __init__( self, config: dict, **kwargs ): pass def retrieve( self ) -> List[str]: return []