Fix notebook manager test

This commit is contained in:
Thomas Kluyver 2013-10-08 15:42:58 -07:00 committed by MinRK
parent c18aaefbde
commit 99969474e0

View File

@ -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: