From 99969474e0bac542d704338df38bcf8eeb873a1d Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Tue, 8 Oct 2013 15:42:58 -0700 Subject: [PATCH] Fix notebook manager test --- IPython/html/services/notebooks/tests/test_nbmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/services/notebooks/tests/test_nbmanager.py b/IPython/html/services/notebooks/tests/test_nbmanager.py index 10a0c882e..21b570d72 100644 --- a/IPython/html/services/notebooks/tests/test_nbmanager.py +++ b/IPython/html/services/notebooks/tests/test_nbmanager.py @@ -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: