Skip to content

Commit 8b020fc

Browse files
committed
test suite running
1 parent a60a8b0 commit 8b020fc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/unit/test_filter.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def test_timestamp_between():
409409
start_ts = start.timestamp()
410410
end_ts = end.timestamp()
411411

412-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
412+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
413413

414414
# Test with dates (should expand to full days)
415415
start_date = date(2023, 3, 1)
@@ -428,7 +428,7 @@ def test_timestamp_between():
428428
expected_start_ts = expected_start.timestamp()
429429
expected_end_ts = expected_end.timestamp()
430430

431-
assert str(ts) == f"@created_at:[{expected_start_ts} {expected_end_ts}]"
431+
assert str(ts) == f"@created_at:[({expected_start_ts} ({expected_end_ts}]"
432432

433433

434434
def test_timestamp_day_of():
@@ -444,11 +444,11 @@ def test_timestamp_day_of():
444444
start_ts = start_dt.timestamp()
445445
end_ts = end_dt.timestamp()
446446

447-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
447+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
448448

449449
# Test with string date
450450
ts = Timestamp("created_at").day_of("2023-03-17")
451-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
451+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
452452

453453

454454
def test_timestamp_week_of():
@@ -470,7 +470,7 @@ def test_timestamp_week_of():
470470
start_ts = start_dt.timestamp()
471471
end_ts = end_dt.timestamp()
472472

473-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
473+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
474474

475475

476476
def test_timestamp_month_of():
@@ -492,7 +492,7 @@ def test_timestamp_month_of():
492492
start_ts = start_dt.timestamp()
493493
end_ts = end_dt.timestamp()
494494

495-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
495+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
496496

497497
# Test with invalid month
498498
with pytest.raises(ValueError):
@@ -509,7 +509,7 @@ def test_timestamp_year_of():
509509
start_ts = start_dt.timestamp()
510510
end_ts = end_dt.timestamp()
511511

512-
assert str(ts) == f"@created_at:[{start_ts} {end_ts}]"
512+
assert str(ts) == f"@created_at:[({start_ts} ({end_ts}]"
513513

514514

515515
def test_timestamp_last_days():

0 commit comments

Comments
 (0)