Skip to content

Commit 28a5b74

Browse files
committed
Update filepaths to plotly_utils tests
1 parent 98f2c8f commit 28a5b74

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ commands:
6767
name: Test utils
6868
command: |
6969
. venv/bin/activate
70-
pytest _plotly_utils/tests/
70+
pytest tests/test_plotly_utils/
7171
no_output_timeout: 20m
7272
- run:
7373
name: Test io

tests/test_core/test_graph_objs/test_properties_validated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def setUp(self):
1212
def test_validators_work_attr(self):
1313
"""
1414
Note: all of the individual validators are tested in
15-
`_plotly_utils/tests/validators`. Here we're just making sure that
15+
`tests/test_plotly_utils/validators`. Here we're just making sure that
1616
datatypes make use of validators
1717
"""
1818
with pytest.raises(ValueError):
@@ -21,7 +21,7 @@ def test_validators_work_attr(self):
2121
def test_validators_work_item(self):
2222
"""
2323
Note: all of the individual validators are tested in
24-
`_plotly_utils/tests/validators`. Here we're just making sure that
24+
`tests/test_plotly_utils/validators`. Here we're just making sure that
2525
datatypes make use of validators
2626
"""
2727
with pytest.raises(ValueError):

tests/test_optional/test_utils/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def test_pil_image_encoding(self):
400400
import _plotly_utils
401401

402402
img_path = os.path.join(
403-
_plotly_utils.__path__[0], "tests", "resources", "1x1-black.png"
403+
os.path.dirname(os.path.abspath(__file__)), "..", "..", "test_plotly_utils", "resources", "1x1-black.png"
404404
)
405405

406406
with open(img_path, "rb") as f:

0 commit comments

Comments
 (0)