Skip to content

Commit

Permalink
Add test for realtime. #9
Browse files Browse the repository at this point in the history
  • Loading branch information
toomore committed Jan 10, 2014
1 parent eccd55d commit bb36eea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ def test_realtime():
assert real_time.real['no'] == '2618'
real_time = grs.RealtimeWeight()
assert real_time.real['no'] == '1'
real_time = grs.RealtimeStock('0050')
assert real_time.real['no'] == '0050'
try:
real_time = grs.RealtimeStock(0050)
except AssertionError:
pass

@staticmethod
def test_countdown():
Expand Down

0 comments on commit bb36eea

Please sign in to comment.