Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion python/tests/test_v04_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,11 @@ def test_result_serialization(self):
def test_v04_public_entrypoint_exports():
import carapace

assert carapace.__version__ == "0.4.0"
# v0.4 trust-stack APIs must remain re-exported from the top-level package
# across subsequent releases. The exact __version__ is verified by the v0.5
# phase-B test; here we only assert the package still ships a version string.
assert isinstance(carapace.__version__, str)
assert carapace.__version__ >= "0.4.0"
assert carapace.EpistemicLog is EpistemicLog
assert carapace.ComplianceProfile is ComplianceProfile
assert carapace.evaluate_compliance is evaluate_compliance
Expand Down
Loading