Skip to content

Commit

Permalink
Add coverage to ensure the public API remains usable
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Oct 6, 2024
1 parent fd4f135 commit 9cbf0dc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""Test we do not break the public API."""

from propcache import _helpers, api


def test_api():
"""Verify the public API is accessible."""
assert api.cached_property is not None
assert api.under_cached_property is not None
assert api.cached_property is _helpers.cached_property
assert api.under_cached_property is _helpers.under_cached_property

0 comments on commit 9cbf0dc

Please sign in to comment.