Skip to content

Commit d1fa6f8

Browse files
committed
Update (base update)
[ghstack-poisoned]
1 parent 727e153 commit d1fa6f8

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)