Exemple #1
0
def test_validate_manifest_exists_invalidates():
    with pytest.raises(ValidationError):
        validate_manifest_exists("DNE")
Exemple #2
0
def test_validate_manifest_exists_validates():
    assert (validate_manifest_exists(
        ASSETS_DIR / "safe-math-lib" / "1.0.0.json") is None)