diff --git a/test/imfjson_test/IMFJSONWriter_test.py b/test/imfjson_test/IMFJSONWriter_test.py index f354539d1a1c477a391f4c9b99e2190ee1a39caa..7792ded4542886badb21f24529776e48ebd412a7 100644 --- a/test/imfjson_test/IMFJSONWriter_test.py +++ b/test/imfjson_test/IMFJSONWriter_test.py @@ -27,8 +27,10 @@ def test_metadata(): assert_equal(metadata["status"], 200) # Test intermagnet parameters intermag = metadata["intermagnet"] - assert_equal(intermag["reported_orientation"], "HDZF") - assert_equal(intermag["sensor_orientation"], "HDZ") + assert_equal(intermag["reported_orientation"], "".join(EXAMPLE_CHANNELS)) + assert intermag[ + "sensor_orientation" + ] # writer does not validate Iaga2002 data, so assert for existence of values instead. assert_equal(intermag["data_type"], "variation") assert_equal(intermag["sampling_period"], 60) assert_equal(intermag["digital_sampling_rate"], 0.01)