Skip to content

Commit

Permalink
refact: rename check_json to check_configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
adebardo committed Sep 4, 2023
1 parent b6a9dc9 commit e4fb961
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/test_lib3sgm.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
import pandora
import rasterio
import xarray as xr
from pandora import optimization, check_conf
from pandora import optimization, check_conf, check_configuration
from pandora.state_machine import PandoraMachine
import pandora.check_json as JSON_checker
from tests import common

# pylint: disable=too-many-lines, too-many-public-methods, redefined-outer-name
Expand Down Expand Up @@ -1249,7 +1248,7 @@ def test_user_initiate_3sgm_and_validation_with_one_geomprior_segmentation(self,

# check the configuration
with pytest.raises(SystemExit):
_ = JSON_checker.check_conf(cfg, pandora_machine)
_ = check_configuration.check_conf(cfg, pandora_machine)

def test_user_initiate_3sgm_and_validation_with_one_geomprior_classification(self, user_cfg, inputs_path):
"""
Expand Down Expand Up @@ -1280,4 +1279,4 @@ def test_user_initiate_3sgm_and_validation_with_one_geomprior_classification(sel

# check the configuration
with pytest.raises(SystemExit):
_ = JSON_checker.check_conf(cfg, pandora_machine)
_ = check_configuration.check_conf(cfg, pandora_machine)

0 comments on commit e4fb961

Please sign in to comment.