MCPcopy Create free account
hub / github.com/jasperproject/jasper-client / testPythonImportCheck

Method testPythonImportCheck

tests/test_diagnose.py:8–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6
7class TestDiagnose(unittest.TestCase):
8 def testPythonImportCheck(self):
9 # This a python stdlib module that definitely exists
10 self.assertTrue(diagnose.check_python_import("os"))
11 # I sincerly hope nobody will ever create a package with that name
12 self.assertFalse(diagnose.check_python_import("nonexistant_package"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected