MCPcopy Create free account
hub / github.com/archlinux/alpm / test_from_file_nonexistent

Function test_from_file_nonexistent

python-alpm/tests/srcinfo/test_source_info.py:115–118  ·  view source on GitHub ↗

Test parsing from nonexistent file raises error.

()

Source from the content-addressed store, hash-verified

113
114
115def test_from_file_nonexistent() -> None:
116 """Test parsing from nonexistent file raises error."""
117 with pytest.raises(SourceInfoError):
118 source_info_from_file("/nonexistent/file.SRCINFO")

Callers

nothing calls this directly

Calls 1

source_info_from_fileFunction · 0.85

Tested by

no test coverage detected