Skip to content

Commit 4bb8d0c

Browse files
committed
fix error
1 parent 91b1d3e commit 4bb8d0c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

comprehensive_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class TestBDShareClient:
239239
"""Tests for the BDShare class and its methods."""
240240

241241
def test_instantiation(self):
242-
bd = BDShare()
242+
bd = bdshare.BDShare()
243243
assert bd is not None
244244

245245
def test_context_manager(self):

tests/test_trading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ def test_data_integration(self):
299299
# Get DSEX data
300300
dsex_df = get_dsex_data()
301301
self.assertIsInstance(dsex_df, pd.DataFrame)
302+
303+
df = None
302304

303305
# Get historical data for a symbol from current data
304306
if not current_df.empty and 'trading_code' in current_df.columns:

0 commit comments

Comments
 (0)