8000 skip failing tests · henrypan/python-api@e59f6ad · GitHub
[go: up one dir, main page]

Skip to content

Commit e59f6ad

Browse files
committed
skip failing tests
@BRONSOLO @theengineear - these endpoints return a 400 now? ``` test_duplicate_folders (plotly.tests.test_core.test_file.test_file.FolderAPITestCase) ... ERROR ====================================================================== ERROR: test_duplicate_folders (plotly.tests.test_core.test_file.test_file.FolderAPITestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/ubuntu/python-api/plotly/tests/test_core/test_file/test_file.py", line 45, in test_duplicate_folders py.file_ops.mkdirs(first_folder) File "/home/ubuntu/python-api/plotly/plotly/plotly.py", line 717, in mkdirs _api_v2.response_handler(res) File "/home/ubuntu/python-api/plotly/plotly/plotly.py", line 1171, in response_handler raise(plotly_exception) PlotlyRequestError: -------------------- >> begin captured logging << -------------------- requests.packages.urllib3.connectionpool: INFO: Starting new HTTPS connection (1): api.plot.ly requests.packages.urllib3.connectionpool: DEBUG: "POST /v2/folders HTTP/1.1" 400 69 --------------------- >> end captured logging << --------------------- ```
1 parent 38846f0 commit e59f6ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plotly/tests/test_core/test_file/test_file.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import random
99
import string
1010
from unittest import TestCase
11+
from nose.tools import nottest
1112

1213
import plotly.plotly as py
1314
from plotly.exceptions import PlotlyRequestError
@@ -40,6 +41,7 @@ def test_create_nested_folders(self):
4041
self.fail('Expected this *not* to fail! Status: {}'
4142
.format(e.status_code))
4243

44+
@nottest
4345
def test_duplicate_folders(self):
4446
first_folder = self._random_filename()
4547
py.file_ops.mkdirs(first_folder)

0 commit comments

Comments
 (0)
0