Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomiku committed May 12, 2020
1 parent 779e23f commit fc93f8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_backend/test_alpaca.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def test_orders():


def test_data():
backend = alpaca.Backend('key-id', 'secret-key')
backend = alpaca.Backend('key-id', 'secret-key', use_polygon=True)

with patch.object(backend._api, 'polygon') as polygon:
polygon.historic_agg_v2 = historic_agg_data
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data/test_bardata.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_bardata():
portal = get_fixture_data_portal()

asset0 = portal.asset_finder.retrieve_asset('asset-0')
asset1 = portal.asset_finder.retrieve_asset('asset-0')
asset1 = portal.asset_finder.retrieve_asset('asset-1')

data = BarData(portal, 'minute')

Expand Down

0 comments on commit fc93f8b

Please sign in to comment.