Skip to content

Commit

Permalink
updating tests to reflect robinhood api change -- instruments
Browse files Browse the repository at this point in the history
  • Loading branch information
lockefox committed Aug 24, 2017
1 parent 96d72f6 commit 9e4738c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/schemas/stocks/rh_instruments.schema
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"maintenance_ratio": {"type":"string"},
"id": {"type":"string"},
"market": {"type":"string", "format":"uri"},
"simple_name": {"type":"string"}
"simple_name": {"type":"string"},
"tradability": {"type":"string", "enum":["tradable"]}
},
"required": [
"min_tick_size", "type", "margin_initial_ratio", "url", "quote", "symbol",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_stocks_prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_get_quote_rh_no_filter(self):
'maintenance_ratio', 'margin_initial_ratio', 'market', 'market_cap',
'min_tick_size', 'name', 'num_employees', 'open', 'pe_ratio',
'previous_close', 'previous_close_date', 'quote', 'simple_name',
'splits', 'state', 'symbol', 'tradeable', 'trading_halted', 'type',
'splits', 'state', 'symbol', 'tradeable', 'tradability', 'trading_halted', 'type',
'updated_at', 'url', 'volume', 'year_founded', 'pct_change'
]
assert set(list(no_filter.columns.values)) == set(all_keys)

0 comments on commit 9e4738c

Please sign in to comment.