remove emojis from console
This commit is contained in:
@@ -43,9 +43,9 @@ def test_filter_by_time_range():
|
||||
print(f"Last: {result.index[-1]} (should be minute 49)")
|
||||
|
||||
if result.index[-1] < end_time:
|
||||
print("✅ PASS: Last candle is before end_time")
|
||||
print(" PASS: Last candle is before end_time")
|
||||
else:
|
||||
print("❌ FAIL: Last candle is NOT before end_time")
|
||||
print(" FAIL: Last candle is NOT before end_time")
|
||||
|
||||
# Test 2: Direction 'after'
|
||||
print("\n" + "-" * 80)
|
||||
@@ -62,9 +62,9 @@ def test_filter_by_time_range():
|
||||
print(f"Last: {result.index[-1]} (should be minute 60)")
|
||||
|
||||
if result.index[0] > start_time:
|
||||
print("✅ PASS: First candle is after start_time")
|
||||
print(" PASS: First candle is after start_time")
|
||||
else:
|
||||
print("❌ FAIL: First candle is NOT after start_time")
|
||||
print(" FAIL: First candle is NOT after start_time")
|
||||
|
||||
# Test 3: Direction 'latest' (default)
|
||||
print("\n" + "-" * 80)
|
||||
@@ -77,9 +77,9 @@ def test_filter_by_time_range():
|
||||
print(f"Last: {result.index[-1]} (should be minute 99)")
|
||||
|
||||
if result.index[-1] == df.index[-1]:
|
||||
print("✅ PASS: Got most recent candles")
|
||||
print(" PASS: Got most recent candles")
|
||||
else:
|
||||
print("❌ FAIL: Did NOT get most recent candles")
|
||||
print(" FAIL: Did NOT get most recent candles")
|
||||
|
||||
print("\n" + "=" * 80)
|
||||
print("All Tests Complete")
|
||||
|
||||
Reference in New Issue
Block a user