update
This commit is contained in:
@@ -25,8 +25,8 @@ def test_refresh_slot_advances_five_minutes_before_boundary(hour, minute, second
|
||||
|
||||
|
||||
def test_response_types_round_price_values_and_keep_timestamp_types():
|
||||
realtime = RealTimeGold(updataTime=stamp(1, 30), region='跨1', code='k1', goldPrice=.016789)
|
||||
assert realtime.goldPrice == .02
|
||||
realtime = RealTimeGold(updataTime=stamp(1, 30), region='跨1', code='k1', goldPrice=105.26315789)
|
||||
assert realtime.goldPrice == 105.26
|
||||
assert realtime.updataTime == stamp(1, 30)
|
||||
assert isinstance(realtime.updataTime, int)
|
||||
official = OfficialGold(updataTime=str(stamp(1, 30)), region='跨1', code='k1',
|
||||
|
||||
Reference in New Issue
Block a user