Skip to content

Commit

Permalink
Add check_config_definition(AggregatorBackendConfig) unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Sep 26, 2024
1 parent 6d739ec commit 2860b90
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest
from openeo_driver.config.config import check_config_definition

from openeo_aggregator.config import AggregatorBackendConfig

Expand All @@ -16,3 +17,7 @@ def test_config_aggregator_backends_empty():
def test_config_aggregator_backends():
config = AggregatorBackendConfig(aggregator_backends={"b1": "https://b1.test"})
assert config.aggregator_backends == {"b1": "https://b1.test"}


def test_check_config_definition():
check_config_definition(AggregatorBackendConfig)

0 comments on commit 2860b90

Please sign in to comment.