def test_prepare_package_bad_file():

    err = ErrorBundle()
    submain.prepare_package(err, "tests/resources/main/foo.bar")

    assert err.failed()
Tests that the prepare_package function fails for unknown files
dataset/ETHPy150Open mozilla/app-validator/tests/test_submain.py/test_prepare_package_bad_file