Add explicit tests for ohlcv regex

This commit is contained in:
Matthias
2021-11-28 14:33:46 +01:00
parent 107e124f60
commit c096c7f5cb
4 changed files with 19 additions and 4 deletions

View File

@@ -23,6 +23,8 @@ logger = logging.getLogger(__name__)
class IDataHandler(ABC):
_OHLCV_REGEX = r'^([a-zA-Z_]+)\-(\d+\S+)(?=\.)'
def __init__(self, datadir: Path) -> None:
self._datadir = datadir