There was an error while loading. Please reload this page.
2 parents e2e4f98 + d1fa6f8 commit 562af92Copy full SHA for 562af92
1 file changed
greenlight/tests/test_github_types.py
@@ -0,0 +1,9 @@
1
+from greenlight import github_types
2
+
3
4
+def test_github_types_module_imports_and_exposes_runtime_protocols():
5
+ # Every other Protocol in github_types is defined under TYPE_CHECKING; VerdictClient and ScanClient
6
+ # are the only two that exist at import time, so importing the module and touching them is all there
7
+ # is to exercise at runtime.
8
+ assert isinstance(github_types.VerdictClient, type)
9
+ assert isinstance(github_types.ScanClient, type)
0 commit comments