Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EE
- ======================================================================
- ERROR: test_saiku_webdav.test_upload_datasource
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.py", line 36, in test_upload_datasource
- webdav.upload('resources/test.sds', remote_path="datasources/test.sds")
- File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 155, in upload
- self._upload(f, remote_path)
- File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 160, in _upload
- self._send('PUT', remote_path, (200, 201, 204), data=fileobj)
- File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 100, in _send
- raise OperationFailed(method, path, expected_code, response.status_code)
- OperationFailed: Failed to upload "datasources/test.sds".
- Operation : PUT datasources/test.sds
- Expected code : 200 OK, 201 Created, 204 No Content
- Actual code : 500 Internal Server Error
- -------------------- >> begin captured logging << --------------------
- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
- requests.packages.urllib3.connectionpool: DEBUG: "PUT //saiku/repository/default/datasources/test.sds HTTP/1.1" 500 1039
- --------------------- >> end captured logging << ---------------------
- ======================================================================
- ERROR: test suite for <module 'test_saiku_webdav' from '/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.pyc'>
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 228, in run
- self.tearDown()
- File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 351, in tearDown
- self.teardownContext(ancestor)
- File "/usr/local/lib/python2.7/site-packages/nose/suite.py", line 367, in teardownContext
- try_run(context, names)
- File "/usr/local/lib/python2.7/site-packages/nose/util.py", line 471, in try_run
- return func()
- File "/Users/miholeus/Documents/Pentaho/mondrian-server/python-saiku/tests/test_saiku_webdav.py", line 28, in teardown_module
- webdav.delete('datasources/test.sds')
- File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 150, in delete
- self._send('DELETE', path, 204)
- File "/usr/local/lib/python2.7/site-packages/easywebdav/client.py", line 100, in _send
- raise OperationFailed(method, path, expected_code, response.status_code)
- OperationFailed: Failed to delete "datasources/test.sds".
- Operation : DELETE datasources/test.sds
- Expected code : 204 No Content
- Actual code : 500 Internal Server Error
- -------------------- >> begin captured logging << --------------------
- requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (2): localhost
- requests.packages.urllib3.connectionpool: DEBUG: "DELETE //saiku/repository/default/datasources/test.sds HTTP/1.1" 500 1039
- --------------------- >> end captured logging << ---------------------
- ----------------------------------------------------------------------
- Ran 1 test in 0.224s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement