Skip to content

Commit a86626b

Browse files
committed
Add test to check that plotly_ssl_verification setting gets set.
1 parent 4550d7c commit a86626b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plotly/tests/test_core/test_plotly/test_credentials.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,19 @@ def test_sign_in_with_config(self):
5151
api_key = 'place holder'
5252
plotly_domain = 'test domain'
5353
plotly_streaming_domain = 'test streaming domain'
54+
plotly_ssl_verification = False
5455
py.sign_in(
5556
username,
5657
api_key,
5758
plotly_domain=plotly_domain,
58-
plotly_streaming_domain=plotly_streaming_domain
59+
plotly_streaming_domain=plotly_streaming_domain,
60+
plotly_ssl_verification=plotly_ssl_verification
5961
)
6062
config = py.get_config()
6163
self.assertEqual(config['plotly_domain'], plotly_domain)
6264
self.assertEqual(
6365
config['plotly_streaming_domain'], plotly_streaming_domain
6466
)
67+
self.assertEqual(
68+
config['plotly_ssl_verification'], plotly_ssl_verification
69+
)

0 commit comments

Comments
 (0)