def test_spaces_in_names():

    package = MockXPI({
        "foo/bar/foo.bar ": None,
        "foo/bar/ foo.bar": None,
    })

    err = ErrorBundle()
    packagelayout.test_blacklisted_files(err, package)
    assert err.failed()
    assert len(err.errors) == 2
Test that spaces in filenames are errors.
dataset/ETHPy150Open mozilla/app-validator/tests/test_packagelayout.py/test_spaces_in_names