(self)
| 3 | |
| 4 | class 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 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected