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

Method test_help

tests/test_torchtune.py:5–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3
4class TestTorchtune(unittest.TestCase):
5 def test_help(self):
6 result = subprocess.run(
7 ["tune", "--help"],
8 capture_output=True,
9 text=True
10 )
11
12 self.assertEqual(0, result.returncode)
13 self.assertIn(
14 "Download a model from the Hugging Face Hub or Kaggle",
15 result.stdout
16 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected