Skip to content

Commit bb1fbe4

Browse files
committed
Update
[ghstack-poisoned]
2 parents 1ea3b42 + 400573f commit bb1fbe4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)