kin: BATON-FIX-012-debugger
This commit is contained in:
parent
e21bcb1eb4
commit
2f6a84f08b
3 changed files with 53 additions and 32 deletions
|
|
@ -218,7 +218,7 @@ async def test_aggregator_single_signal_calls_send_message():
|
|||
try:
|
||||
agg = SignalAggregator(interval=9999)
|
||||
await agg.add_signal(
|
||||
user_uuid="agg-uuid-001",
|
||||
user_uuid="a9900001-0000-4000-8000-000000000001",
|
||||
user_name="Alice",
|
||||
timestamp=1742478000000,
|
||||
geo={"lat": 55.0, "lon": 37.0, "accuracy": 10.0},
|
||||
|
|
@ -246,7 +246,7 @@ async def test_aggregator_multiple_signals_one_message():
|
|||
agg = SignalAggregator(interval=9999)
|
||||
for i in range(5):
|
||||
await agg.add_signal(
|
||||
user_uuid=f"agg-uuid-{i:03d}",
|
||||
user_uuid=f"a990000{i}-0000-4000-8000-00000000000{i}",
|
||||
user_name=f"User{i}",
|
||||
timestamp=1742478000000 + i * 1000,
|
||||
geo=None,
|
||||
|
|
@ -288,7 +288,7 @@ async def test_aggregator_buffer_cleared_after_flush():
|
|||
try:
|
||||
agg = SignalAggregator(interval=9999)
|
||||
await agg.add_signal(
|
||||
user_uuid="agg-uuid-clr",
|
||||
user_uuid="a9900099-0000-4000-8000-000000000099",
|
||||
user_name="Test",
|
||||
timestamp=1742478000000,
|
||||
geo=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue