Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
fixes #49
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Jun 21, 2019
1 parent 7efd86a commit bc58f9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ tests: ## Clean and Make unit tests
python3 -m pytest -v tests --cov=pyEX

test: lint ## run the tests for travis CI
@ python3 -m pytest -v tests --cov=pyEX
IEX_TOKEN=Tpk_ecc89ddf30a611e9958142010a80043c python3 -m pytest -v tests --cov=pyEX

lint: ## run linter
flake8 pyEX
Expand Down
6 changes: 2 additions & 4 deletions tests/test_stocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ def test_spreadDF(self):
mock.return_value = MagicMock()
mock.return_value.status_code = 200
mock.return_value.json = MagicMock(return_value=[])

spreadDF(SYMBOL)
spreadDF(SYMBOL)

def test_volumeByVenue(self):
from pyEX import volumeByVenue
Expand All @@ -99,8 +98,7 @@ def test_volumeByVenueDF(self):
mock.return_value = MagicMock()
mock.return_value.status_code = 200
mock.return_value.json = MagicMock(return_value=[])

volumeByVenueDF(SYMBOL)
volumeByVenueDF(SYMBOL)

def test_delayedQuote(self):
from pyEX import delayedQuote
Expand Down

0 comments on commit bc58f9b

Please # to comment.