| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,14 @@ | |||
| 1 | + import unittest | ||
| 2 | + | ||
| 3 | + import subprocess | ||
| 4 | + | ||
| 5 | + class 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) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments