Skip to content

Commit

Permalink
further fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
refraction-ray committed Jun 13, 2021
1 parent 29552c5 commit 14ebe15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_info.py
Expand Up @@ -211,5 +211,5 @@ def test_vinfo():
t = xa.trade(hs300, st)
t.dailyreport()
assert len(t.cftable) == 2
yy = xa.vinfo("ZZ931152")
yy.pct_chg()
# yy = xa.vinfo("ZZ931152") # fail on oversea server
hs300.pct_chg()
1 change: 1 addition & 0 deletions tests/test_universal.py
Expand Up @@ -218,6 +218,7 @@ def test_get_ttjj():
assert xa.get_rt("F511600")["type"] == "货币型"


@pytest.mark.local
def test_get_zzindex():
assert len(xa.get_daily("ZZH30533")) > 100

Expand Down

0 comments on commit 14ebe15

Please sign in to comment.