8000 Config plot option by aneda · Pull Request #260 · plotly/plotly.py · GitHub
[go: up one dir, main page]

Skip to content

Config plot option #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jul 20, 2015
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixes this issue
```
======================================================================
ERROR: Failure: TypeError (__init__() takes exactly 1 argument (2
given))
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line
523, in makeTest
   return self._makeTest(obj, parent)
 File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line
570, in _makeTest
   return self.loadTestsFromTestCase(obj)
 File "/usr/local/lib/python2.7/site-packages/nose/loader.py", line
494, in loadTestsFromTestCase
   return super(TestLoader, self).loadTestsFromTestCase(testCaseClass)
 File
"/usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.
7/lib/python2.7/unittest/loader.py", line 56, in loadTestsFromTestCase
   loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
TypeError: __init__() takes exactly 1 argument (2 given)
```
  • Loading branch information
aneda committed Jul 16, 2015
commit e564a156c8890b53b4aa533d5e04459f6f1d12b4
4 changes: 2 additions & 2 deletions plotly/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class PlotlyTestCase(TestCase):

# parent test case to assist with clean up of local credentials/config

def __init__(self, **kwargs):
def __init__(self, *args, **kwargs):
self._file_credentials = None
self._file_config = None
self._session = None
super(PlotlyTestCase, self).__init__(**kwargs)
super(PlotlyTestCase, self).__init__(*args, **kwargs)

def setUp(self):
self.stash_file_credentials_and_config()
Expand Down
0