##// END OF EJS Templates
Merge pull request #4601 from minrk/test-rename-existing...
Thomas Kluyver -
r13711:a4217d3f merge
parent child Browse files
Show More
@@ -245,6 +245,10 b' class APITest(NotebookTestBase):'
245 self.assertIn('z.ipynb', nbnames)
245 self.assertIn('z.ipynb', nbnames)
246 self.assertNotIn('a.ipynb', nbnames)
246 self.assertNotIn('a.ipynb', nbnames)
247
247
248 def test_rename_existing(self):
249 with assert_http_error(409):
250 self.nb_api.rename('a.ipynb', 'foo', 'b.ipynb')
251
248 def test_save(self):
252 def test_save(self):
249 resp = self.nb_api.read('a.ipynb', 'foo')
253 resp = self.nb_api.read('a.ipynb', 'foo')
250 nbcontent = json.loads(resp.text)['content']
254 nbcontent = json.loads(resp.text)['content']
General Comments 0
You need to be logged in to leave comments. Login now