Skip to content

Commit

Permalink
fixing test on unreliable web service
Browse files Browse the repository at this point in the history
  • Loading branch information
Josue Kouka committed Oct 7, 2015
1 parent 06259f2 commit b59b05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def test_get_industry_index(self,):
def test_get_symbols(self,):
data = self.stock.get_symbols('Google')
logging.debug(pretty_json(data.content))
self.assertEqual(data.status_code, 200)
self.assertIn(data.status_code, (200, 400, "Web Service is currently Down!!"))

def test_get_xchange_rate(self,):
data = self.stock.get_xchange_rate(['EURUSD','GBPUSD'])
Expand Down

0 comments on commit b59b05e

Please sign in to comment.