We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8b707 commit 1a2379cCopy full SHA for 1a2379c
tests/compas/test_plugins.py
@@ -61,3 +61,18 @@ def test_dot_net_exception_without_rhino():
61
from compas.plugins import DummyDotNetException
62
63
assert DotNetException == DummyDotNetException
64
+
65
66
+def test_importer_fail_silently():
67
+ from compas.plugins import Importer
68
69
+ importer = Importer()
70
71
+ is_importable = importer.check_importable("compas")
72
+ assert is_importable
73
74
+ is_importable = importer.check_importable("Rhino")
75
+ assert not is_importable
76
77
+ is_importable = importer.check_importable("Grasshopper")
78
0 commit comments