-
Notifications
You must be signed in to change notification settings - Fork 679
Refactor GoogleQuotesReader #188
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
Conversation
def test_get_quote_string(self): | ||
df = web.get_quote_google('GOOG') | ||
self.assertTrue(df.ix['GOOG']['last'] > 0.0) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls test index
and columns
are correct using tm.assert_index_equal
also in test_get_quote_stringlist
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Thanks @gliptak but you might add some tests to ensure type of returned data.
|
No, dtypes will be Using |
Thanks for the pointers. Please review update. |
|
Some code gymnastics ... |
Any other changes you would like? Thanks |
Squashed. |
ENH: Refactor GoogleQuotesReader
Thanks @gliptak |
#184
#177
@femtotrader