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

Function test_str_repr

python-alpm/tests/srcinfo/test_schema.py:84–89  ·  view source on GitHub ↗

Test string representation of SourceInfoSchema.

()

Source from the content-addressed store, hash-verified

82
83
84def test_str_repr() -> None:
85 """Test string representation of SourceInfoSchema."""
86 schema = SourceInfoSchema("1")
87
88 assert "1" == str(schema)
89 assert "SourceInfoSchema(1)" == repr(schema)
90
91
92def test_version_consistency(valid_srcinfo_content: str) -> None:

Callers

nothing calls this directly

Calls 1

SourceInfoSchemaClass · 0.50

Tested by

no test coverage detected