Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf6d796

Browse filesBrowse files
committed
Load default config in PlotlyTestCase.
Clean-slates each test. It doesn’t mean that the files aren’t dirty between tests, but because `session` takes precedence, this helps a lot.
1 parent c586863 commit bf6d796
Copy full SHA for bf6d796

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎plotly/tests/utils.py

Copy file name to clipboardExpand all lines: plotly/tests/utils.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def setUpClass(cls):
2727
def setUp(self):
2828
self.stash_session()
2929
self.stash_files()
30+
defaults = dict(files.FILE_CONTENT[files.CREDENTIALS_FILE],
31+
**files.FILE_CONTENT[files.CONFIG_FILE])
32+
session.sign_in(**defaults)
3033

3134
def tearDown(self):
3235
self.restore_files()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.