1 parent 91b1d3e commit 4bb8d0cCopy full SHA for 4bb8d0c
2 files changed
comprehensive_test.py
@@ -239,7 +239,7 @@ class TestBDShareClient:
239
"""Tests for the BDShare class and its methods."""
240
241
def test_instantiation(self):
242
- bd = BDShare()
+ bd = bdshare.BDShare()
243
assert bd is not None
244
245
def test_context_manager(self):
tests/test_trading.py
@@ -299,6 +299,8 @@ def test_data_integration(self):
299
# Get DSEX data
300
dsex_df = get_dsex_data()
301
self.assertIsInstance(dsex_df, pd.DataFrame)
302
+
303
+ df = None
304
305
# Get historical data for a symbol from current data
306
if not current_df.empty and 'trading_code' in current_df.columns:
0 commit comments