mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Fix notebook manager test
This commit is contained in:
parent
c18aaefbde
commit
99969474e0
@ -86,7 +86,7 @@ class TestNotebookManager(TestCase):
|
||||
self.assertIn('name', model)
|
||||
self.assertIn('path', model)
|
||||
self.assertEqual(model['name'], 'Untitled0.ipynb')
|
||||
self.assertEqual(model['path'], sub_dir)
|
||||
self.assertEqual(model['path'], sub_dir.strip('/'))
|
||||
|
||||
def test_get_notebook_model(self):
|
||||
with TemporaryDirectory() as td:
|
||||
|
Loading…
Reference in New Issue
Block a user