From 803b2a9c5e27fdb5205fc2835fb29ed904e4b783 Mon Sep 17 00:00:00 2001 From: Koen werklaptop Date: Mon, 11 Nov 2024 20:23:29 +0100 Subject: [PATCH] Fix test_get_dataframe_with_volume_column, don't take the length of the string --- tests/test_tiingo_pandas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tiingo_pandas.py b/tests/test_tiingo_pandas.py index 7e69d73..d2d2eae 100644 --- a/tests/test_tiingo_pandas.py +++ b/tests/test_tiingo_pandas.py @@ -122,7 +122,7 @@ class TestTiingoWithPython(TestCase): columns=requested_column, fmt='json') assert len(prices) == 1 - assert len(prices.columns) == len(requested_column) + 1 + assert len(prices.columns) == 1 @vcr.use_cassette('tests/fixtures/ticker_price_with_multiple_columns.yaml') def test_get_dataframe_with_multiple_columns(self):