MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_system_management_interface

Method test_system_management_interface

tests/test_nvidia.py:11–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9class TestNvidia(unittest.TestCase):
10 @gpu_test
11 def test_system_management_interface(self):
12 smi = subprocess.Popen(['nvidia-smi'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
13 smi.communicate()
14 self.assertEqual(0, smi.returncode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected