Skip to content

Commit 21659e7

Browse files
committed
adjust test for long Aggsv2 attribute names
1 parent 9f9c2bc commit 21659e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_polygon/test_rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def test_polygon(reqmock):
248248
_from='2018-2-2',
249249
to='2018-2-5'
250250
)
251-
assert aggs[0].o == 173.15
251+
assert aggs[0].open == 173.15
252252
assert len(aggs) == 1
253-
assert aggs.df.iloc[0].h == 173.21
253+
assert aggs.df.iloc[0].high == 173.21
254254
with pytest.raises(AttributeError):
255255
aggs[0].foo
256256

0 commit comments

Comments
 (0)