16 lines
244 B
Python
16 lines
244 B
Python
|
|
import pytest
|
||
|
|
from chunks.parser import parse
|
||
|
|
from chunks.config import ChunkerConfig
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.fixture
|
||
|
|
def cfg():
|
||
|
|
return ChunkerConfig()
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.fixture
|
||
|
|
def parse_md():
|
||
|
|
def _parse(md: str):
|
||
|
|
return parse(md)
|
||
|
|
return _parse
|