Skip to content

Commit

Permalink
Add coverage to ensure the public API remains usable (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 6, 2024
1 parent fd4f135 commit f35d343
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 f35d343

Please sign in to comment.