Test group: kernel .........................S........................................................ ---------------------------------------------------------------------- Ran 82 tests in 20.202s OK (SKIP=1) [?1034h Test group: kernel.inprocess ........ ---------------------------------------------------------------------- Ran 8 tests in 3.027s OK Test group: config ............................................................................ ---------------------------------------------------------------------- Ran 76 tests in 0.092s OK [?1034h Test group: core ........................................................................................................................................................................................................................................................................................................................................................................................S.............................S.............................................. ---------------------------------------------------------------------- Ran 453 tests in 20.422s OK (SKIP=2) [?1034h Test group: extensions ........ ---------------------------------------------------------------------- Ran 8 tests in 3.533s OK [?1034h Test group: lib ...................................................S............... ---------------------------------------------------------------------- Ran 67 tests in 8.498s OK (SKIP=1) [?1034h Test group: terminal ........................... ---------------------------------------------------------------------- Ran 27 tests in 7.835s OK [?1034h Test group: testing ..........................S....S..................S.. ---------------------------------------------------------------------- Ran 53 tests in 2.539s OK (SKIP=3) [?1034h Test group: utils .........................................................................................S................................S........SSS...S................S.......S............S..S.............................................................................................................................. ---------------------------------------------------------------------- Ran 305 tests in 1.690s OK (SKIP=10) [?1034h Test group: nbformat .......................................................................... ---------------------------------------------------------------------- Ran 74 tests in 0.139s OK [?1034h Test group: qt .................. ---------------------------------------------------------------------- Ran 18 tests in 3.837s OK [?1034h Test group: html EFEEEE...................EEEEEEF.FEFEEEE.............................. . ....EF.......................... ====================================================================== ERROR: test_from_file (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 79, in test_from_file r = self.nbconvert_api.from_file('html', 'foo', 'testnb.ipynb') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 35, in from_file params={'download':download}) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 30, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 500 Server Error: Internal Server Error -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks HTTP/1.1" 200 2 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /nbconvert/html/foo/testnb.ipynb?download=False HTTP/1.1" 500 93 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_from_file_download (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 96, in test_from_file_download r = self.nbconvert_api.from_file('python', 'foo', 'testnb.ipynb', download=True) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 35, in from_file params={'download':download}) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 30, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /nbconvert/python/foo/testnb.ipynb?download=True HTTP/1.1" 404 69 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_from_file_zip (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 103, in test_from_file_zip r = self.nbconvert_api.from_file('latex', 'foo', 'testnb.ipynb', download=True) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 35, in from_file params={'download':download}) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 30, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /nbconvert/latex/foo/testnb.ipynb?download=True HTTP/1.1" 404 69 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_from_post (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 112, in test_from_post r = self.nbconvert_api.from_post(format='html', nbmodel=nbmodel) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 39, in from_post return self._req('POST', format, body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 30, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 500 Server Error: Internal Server Error -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/foo/testnb.ipynb HTTP/1.1" 404 52 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "POST /nbconvert/html HTTP/1.1" 500 93 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_from_post_zip (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 127, in test_from_post_zip r = self.nbconvert_api.from_post(format='latex', nbmodel=nbmodel) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 39, in from_post return self._req('POST', format, body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 30, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 500 Server Error: Internal Server Error -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/foo/testnb.ipynb HTTP/1.1" 404 52 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "POST /nbconvert/latex HTTP/1.1" 500 93 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_checkpoints (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 309, in test_checkpoints resp = self.nb_api.read('a.ipynb', 'foo') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 50, in read return self._req('GET', url_path_join(path, name)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks HTTP/1.1" 200 2 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/foo/a.ipynb HTTP/1.1" 404 47 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_copy (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 249, in test_copy resp = self.nb_api.copy(u'ç d.ipynb', u'cøpy.ipynb', path=u'å b') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 70, in copy return self._req('PUT', url_path_join(path, copy_to), body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "PUT /api/notebooks/%C3%A5%20b/c%C3%B8py.ipynb HTTP/1.1" 404 54 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_copy_untitled (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 245, in test_copy_untitled resp = self.nb_api.copy_untitled(u'ç d.ipynb', path=u'å b') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 60, in copy_untitled return self._req('POST', path, body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "POST /api/notebooks/%C3%A5%20b HTTP/1.1" 404 54 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_create_untitled (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 205, in test_create_untitled resp = self.nb_api.create_untitled(path=u'å b') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 53, in create_untitled return self._req('POST', path) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 400 Client Error: Bad Request -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "POST /api/notebooks/%C3%A5%20b HTTP/1.1" 400 269 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_delete (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 254, in test_delete resp = self.nb_api.delete('%s.ipynb' % name, d) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 76, in delete return self._req('DELETE', url_path_join(path, name)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "DELETE /api/notebooks/inroot.ipynb HTTP/1.1" 404 111 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_get_contents (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 183, in test_get_contents nb = self.nb_api.read('%s.ipynb' % name, d+'/').json() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 50, in read return self._req('GET', url_path_join(path, name)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/inroot.ipynb HTTP/1.1" 404 52 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_rename (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 262, in test_rename resp = self.nb_api.rename('a.ipynb', 'foo', 'z.ipynb') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 80, in rename return self._req('PATCH', url_path_join(path, name), body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 500 Server Error: Internal Server Error -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "PATCH /api/notebooks/foo/a.ipynb HTTP/1.1" 500 229 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_save (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 277, in test_save resp = self.nb_api.read('a.ipynb', 'foo') File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 50, in read return self._req('GET', url_path_join(path, name)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/foo/a.ipynb HTTP/1.1" 404 47 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_upload (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 227, in test_upload body=json.dumps(nbmodel)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 66, in upload return self._req('PUT', url_path_join(path, name), body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 400 Client Error: Bad Request -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "PUT /api/notebooks/%C3%A5%20b/Upload%20t%C3%A9st.ipynb HTTP/1.1" 400 287 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_upload_untitled (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 220, in test_upload_untitled body=json.dumps(nbmodel)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 56, in upload_untitled return self._req('POST', path, body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 400 Client Error: Bad Request -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "POST /api/notebooks/%C3%A5%20b HTTP/1.1" 400 269 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_upload_v2 (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 237, in test_upload_v2 body=json.dumps(nbmodel)) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 66, in upload return self._req('PUT', url_path_join(path, name), body) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 43, in _req response.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 400 Client Error: Bad Request -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "PUT /api/notebooks/%C3%A5%20b/Upload%20t%C3%A9st.ipynb HTTP/1.1" 400 287 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_hidden_files (IPython.html.tests.test_files.FilesTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/tests/test_files.py", line 42, in test_hidden_files r.raise_for_status() File "/Users/fangohr/anaconda/lib/python2.7/site-packages/requests/models.py", line 808, in raise_for_status raise HTTPError(http_error_msg, response=self) HTTPError: 404 Client Error: Not Found -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks HTTP/1.1" 200 2 requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /files/%C3%A5%20b/foo HTTP/1.1" 404 69 --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_from_file_404 (IPython.html.nbconvert.tests.test_nbconvert_handlers.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/nbconvert/tests/test_nbconvert_handlers.py", line 92, in test_from_file_404 self.nbconvert_api.from_file('html', 'foo', 'thisdoesntexist.ipynb') File "/Users/fangohr/anaconda/lib/python2.7/contextlib.py", line 35, in __exit__ self.gen.throw(type, value, traceback) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/tests/launchnotebook.py", line 98, in assert_http_error "Expected status %d, got %d" % (real_status, status) AssertionError: Expected status 500, got 404 500 = HTTPError('500 Server Error: Internal Server Error',).response.status_code >> assert 500 == 404, \ "Expected status %d, got %d" % (500, 404) -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /nbconvert/html/foo/thisdoesntexist.ipynb?download=False HTTP/1.1" 500 93 --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_list_dirs (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 175, in test_list_dirs self.assertEqual(dir_names, self.top_level_dirs) # Excluding hidden dirs AssertionError: Items in the second set but not the first: u'ordering' u'unicod\xe9' u'foo' u'\xe5 b' u'Directory with spaces in' """Fail immediately, with the given message.""" >> raise self.failureException("Items in the second set but not the first:\nu'ordering'\nu'unicod\\xe9'\nu'foo'\nu'\\xe5 b'\nu'Directory with spaces in'") -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/ HTTP/1.1" 302 0 requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks HTTP/1.1" 200 2 --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_list_notebooks (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 143, in test_list_notebooks self.assertEqual(len(nbs), 1) AssertionError: 0 != 1 '0 != 1' = '%s != %s' % (safe_repr(0), safe_repr(1)) '0 != 1' = self._formatMessage('0 != 1', '0 != 1') >> raise self.failureException('0 != 1') -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks/ HTTP/1.1" 302 0 requests.packages.urllib3.connectionpool: DEBUG: "GET /api/notebooks HTTP/1.1" 200 2 --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_rename_existing (IPython.html.services.notebooks.tests.test_notebooks_api.APITest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/services/notebooks/tests/test_notebooks_api.py", line 274, in test_rename_existing self.nb_api.rename('a.ipynb', 'foo', 'b.ipynb') File "/Users/fangohr/anaconda/lib/python2.7/contextlib.py", line 35, in __exit__ self.gen.throw(type, value, traceback) File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/tests/launchnotebook.py", line 98, in assert_http_error "Expected status %d, got %d" % (real_status, status) AssertionError: Expected status 500, got 409 500 = HTTPError('500 Server Error: Internal Server Error',).response.status_code >> assert 500 == 409, \ "Expected status %d, got %d" % (500, 409) -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "PATCH /api/notebooks/foo/a.ipynb HTTP/1.1" 500 229 --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: pre-2.0 'files/' prefixed links are properly redirected ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fangohr/anaconda/lib/python2.7/site-packages/IPython/html/tests/test_files.py", line 73, in test_old_files_redirect self.assertEqual(r.status_code, 200) AssertionError: 404 != 200 '404 != 200' = '%s != %s' % (safe_repr(404), safe_repr(200)) '404 != 200' = self._formatMessage('404 != 200', '404 != 200') >> raise self.failureException('404 != 200') -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost requests.packages.urllib3.connectionpool: DEBUG: "GET /notebooks/files/f1.txt HTTP/1.1" 302 0 requests.packages.urllib3.connectionpool: DEBUG: "GET /files/f1.txt HTTP/1.1" 404 69 --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 103 tests in 6.967s FAILED (errors=17, failures=5) [?1034h Test group: nbconvert .....................................................................................................................Setting Language: .UTF-8 (process:38060): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. ............................. ---------------------------------------------------------------------- Ran 146 tests in 43.532s OK [?1034h Test group: autoreload ... ---------------------------------------------------------------------- Ran 3 tests in 6.574s OK [?1034h Test group: parallel ----------------------------------------- NOT RUN Test group: js/base ------------------------------------------ NOT RUN Test group: js/notebook -------------------------------------- NOT RUN Test group: js/services -------------------------------------- NOT RUN Test group: js/tree ------------------------------------------ NOT RUN Test group: js/widgets --------------------------------------- NOT RUN ______________________________________________________________________ Test suite completed for system with the following information: IPython version: 2.2.0 IPython commit : d87a8cd (installation) IPython package: ~/anaconda/lib/python2.7/site-packages/IPython Python version : 2.7.8 |Anaconda 2.0.1 (x86_64)| (default, Aug 21 2014, 15:21:46) [GCC 4.2.1 (Apple Inc. build 5577)] sys.executable : ~/anaconda/bin/python Platform : Darwin-13.3.0-x86_64-i386-64bit Tools and libraries available at test time: curses cython jinja2 matplotlib numpy pexpect pygments qt requests sphinx sqlite3 tornado zmq Tools and libraries NOT available at test time: casperjs oct2py pymongo rpy2 Status: ERROR - 1 out of 14 test groups failed (html). Took 231.466s. You may wish to rerun these, with: iptest html