test_exported_members.py
This file
Path
tests/test_exported_members.py
14 lines · 421 bytes · Python
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 69409bb point at it.
Switch to `USE_CLIENT_DEFAULT` instead of `UNSET`. (#1634)Tom Christiebefore adoption69409bb
lines 1–14why, one step back1import httpx2from httpx import __all__ as exported_members345def test_all_imports_are_exported() -> None:6 included_private_members = ["__description__", "__title__", "__version__"]7 assert exported_members == sorted(8 (9 member10 for member in vars(httpx).keys()11 if not member.startswith("_") or member in included_private_members12 ),13 key=str.casefold,14 )