summaryrefslogtreecommitdiffstats
path: root/tests/python/test_import.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/python/test_import.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/python/test_import.py b/tests/python/test_import.py
new file mode 100644
index 0000000..db12729
--- /dev/null
+++ b/tests/python/test_import.py
@@ -0,0 +1,11 @@
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License.
+
+import hamcrest
+
+
+def test_import():
+ """Ensure that LSP types are importable."""
+ import lsprotocol.types as lsp
+
+ hamcrest.assert_that(lsp.MarkupKind.Markdown.value, hamcrest.is_("markdown"))