def test_validate_main_with_input(): main.validate_inputs({"local_file": "my_file.xml"})
def test_validate_main_with_invalid_input(): with pytest.raises(ValueError): main.validate_inputs({"foo": "bar"})
def test_validate_main(): with pytest.raises(TypeError): main.validate_inputs()