Example #1
0
def test_validate_main_with_input():
    main.validate_inputs({"local_file": "my_file.xml"})
Example #2
0
def test_validate_main_with_invalid_input():
    with pytest.raises(ValueError):
        main.validate_inputs({"foo": "bar"})
Example #3
0
def test_validate_main():
    with pytest.raises(TypeError):
        main.validate_inputs()