There was an error while loading. Please reload this page.
2 parents 1ea3b42 + 400573f commit bb1fbe4Copy full SHA for bb1fbe4
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