def test_version_control():

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

    err = ErrorBundle()
    packagelayout.test_blacklisted_files(err, package)
    assert err.failed()
Test that version control in a package are caught.
dataset/ETHPy150Open mozilla/app-validator/tests/test_packagelayout.py/test_version_control