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

Method test_papermill

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

Source from the content-addressed store, hash-verified

4
5class TestPapermill(unittest.TestCase):
6 def test_papermill(self):
7 result = subprocess.run([
8 'papermill',
9 '/input/tests/data/notebook.ipynb',
10 '-',
11 ], stdout=subprocess.PIPE)
12
13 self.assertEqual(0, result.returncode)
14 self.assertTrue(b'999' in result.stdout)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected