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

Commit

Permalink
bugfix for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Jan 23, 2019
1 parent c63816a commit 0ff3a9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 0 additions & 8 deletions tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# for Coverage
from mock import patch, MagicMock

C = 'AAPL'


class TestClient:
def test_client(self):
from pyEX import Client
from pyEX import PyEXception
c = Client('test')

try:
c = Client()
assert False
except PyEXception:
pass

def test_account(self):
from pyEX import Client
c = Client('test')
Expand Down
6 changes: 4 additions & 2 deletions tests/test_refdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ def test_symbols(self):
iexSymbols()

def test_symbolsDF(self):
from pyEX.refdata import symbolsDF, iexSymbolsDF
from pyEX.refdata import symbolsDF
from pyEX import Client
c = Client()
symbolsDF()
iexSymbolsDF()
c.iexSymbolsDF()

def test_corporateActions(self):
from pyEX.refdata import corporateActions
Expand Down

0 comments on commit 0ff3a9f

Please sign in to comment.