Skip to content

Commit

Permalink
Update mock test
Browse files Browse the repository at this point in the history
  • Loading branch information
mlouielu committed May 16, 2024
1 parent 32cbc36 commit fdbfb14
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/test_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ def test_mock_get_stock_info_will_work(self):
def test_mock_get_stock_info_raw_data(self):
self.assertCountEqual(
mock.get_stock_info("2330").keys(),
["msgArray", "userDelay", "rtmessage", "referer", "queryTime", "rtcode"],
[
"msgArray",
"userDelay",
"rtmessage",
"referer",
"queryTime",
"rtcode",
"exKey",
"cachedAlive",
],
)

def test_mock_get_stock_info_msgarray(self):
Expand Down

0 comments on commit fdbfb14

Please sign in to comment.