mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-10 00:59:34 +01:00
11 lines
292 B
Python
11 lines
292 B
Python
from batdetect2.config import BatDetect2Config
|
|
from batdetect2.core import load_config
|
|
|
|
|
|
def test_example_config_is_valid(example_data_dir):
|
|
conf = load_config(
|
|
example_data_dir / "config.yaml",
|
|
schema=BatDetect2Config,
|
|
)
|
|
assert isinstance(conf, BatDetect2Config)
|