Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 376632c

Browse files
committed
Merge branch 'refs-check'
2 parents 04933af + e18f2e8 commit 376632c

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

plotly/graph_reference

Submodule graph_reference updated from 3ef20b0 to 6226921
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def setup_package():
2+
import warnings
3+
warnings.filterwarnings('ignore')
4+
5+
6+
def teardown_package():
7+
pass
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"""
2+
test_key_types:
3+
===============
4+
5+
A module intended for use with Nose.
6+
7+
"""
8+
import plotly.graph_objs.graph_objs as go
9+
10+
11+
def test_style_exists():
12+
checks = True
13+
for obj_key, obj in go.INFO.items():
14+
if obj_key not in ['plotlylist', 'data', 'annotations', 'plotlydict', 'plotlytrace', 'trace']:
15+
for attr_key, attr in obj.items():
16+
if 'type' not in attr:
17+
checks = False
18+
print obj_key, attr_key
19+
if not checks:
20+
raise Exception

0 commit comments

Comments
 (0)