8000 Update metadata_to_nonexistent_grid meta test to pass circle · Issue #263 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Update metadata_to_nonexistent_grid meta test to pass circle #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aneda opened this issue Jul 17, 2015 · 0 comments
Closed

Update metadata_to_nonexistent_grid meta test to pass circle #263

aneda opened this issue Jul 17, 2015 · 0 comments

Comments

@aneda
Copy link
Contributor
aneda commented Jul 17, 2015

Here is the error I got in circle when I ran test_tools_file.py
for more info: #260 (comment)

plotly.tests.test_core.test_meta.test_meta.test_upload_meta_with_grid ... ok
plotly.tests.test_core.test_meta.test_meta.test_metadata_to_nonexistent_grid ... ERROR

======================================================================
ERROR: plotly.tests.test_core.test_meta.test_meta.test_metadata_to_nonexistent_grid
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/.pyenv/versions/3.3.3/lib/python3.3/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/ubuntu/.pyenv/versions/3.3.3/lib/python3.3/site-packages/nose/tools/nontrivial.py", line 60, in newfunc
    func(*arg, **kw)
  File "/home/ubuntu/python-api/plotly/tests/test_core/test_meta/test_meta.py", line 64, in test_metadata_to_nonexistent_grid
    py.meta_ops.upload(_meta, grid_url=non_exist_meta_url)
  File "/home/ubuntu/python-api/plotly/plotly/plotly.py", line 1106, in upload
    return _api_v2.response_handler(res)
  File "/home/ubuntu/python-api/plotly/plotly/plotly.py", line 1162, in response_handler
    requests_exception
  File "/home/ubuntu/python-api/plotly/exceptions.py", line 34, in __init__
    content_type = requests_exception.response.headers['content-type']
  File "/home/ubuntu/.pyenv/versions/3.3.3/lib/python3.3/site-packages/requests/structures.py", line 54, in __getitem__
    return self._store[key.lower()][1]
nose.proxy.KeyError: 'content-type'
-------------------- >> begin captured logging << --------------------
requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): api.plot.ly
requests.packages.urllib3.connectionpool: DEBUG: "PATCH /v2/grids/GridTest:999999999 HTTP/1.1" 504 0
--------------------- >> end captured logging << ---------------------

so Chris suggested to add @skip ( test_metadata_to_nonexistent_grid() in test_meta.py)

@theengineear @BRONSOLO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0