Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
woodac committed Jan 9, 2025
1 parent 6114f5f commit 966f43d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions tests/test_utils/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,28 +633,36 @@ def test_validate_pnp_config(self):
input_config = {
"survey": { "survey_type": "PNP"},
"global": {
"run_ni_construction": True,
"load_manual_outliers": True,
"output_ni_full_responses": True,
"output_mapping_ni_qa": True,
"output_outlier_qa": True,
"output_auto_outliers": True,
"output_estimation_qa": True,
"output_short_form": True,
"run_ni_construction": True,
"output_ni_sas": True,
"output_intram_by_pg_uk": True,
"output_outlier_qa": True,
"output_intram_uk_itl": True,
"output_intram_by_civil_defence": True,
}

}
results = validate_pnp_config(input_config)
assert results ==({"survey" : { "survey_type": "PNP"},
"global": {
"run_ni_construction": False,
"load_manual_outliers": False,
"output_ni_full_responses": False,
"output_mapping_ni_qa": False,
"output_outlier_qa": False,
"output_auto_outliers": False,
"output_estimation_qa": False,
"output_short_form": False,
"run_ni_construction": False,
"output_ni_sas": False,
"output_intram_by_pg_uk": False,
"output_outlier_qa" : False,
"output_intram_uk_itl": False
"output_intram_uk_itl": False,
"output_intram_by_civil_defence": False,
}
})
("PNP config validation returned the expected config values.")

0 comments on commit 966f43d

Please sign in to comment.