def test_validate_manifest_exists_validates():
    assert (validate_manifest_exists(
        V2_PACKAGES_DIR / "safe-math-lib" / "1.0.0.json") is None)
def test_validate_manifest_exists_invalidates():
    with pytest.raises(ValidationError):
        validate_manifest_exists("DNE")
def test_validate_manifest_exists_validates():
    assert validate_manifest_exists(str(V2_PACKAGES_DIR / 'safe-math-lib' / '1.0.0.json')) is None