Repository navigation
Expand file tree
/
Copy pathpytest.log
More file actions
9524 lines (7323 loc) · 360 KB
/
Copy pathpytest.log
File metadata and controls
9524 lines (7323 loc) · 360 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
10BC8
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.3.4, pluggy-1.6.0
rootdir: /home/iclaldogan/bantzv2
configfile: pyproject.toml
testpaths: tests
plugins: asyncio-1.3.0, cov-7.0.0, anyio-4.12.1
asyncio: mode=auto, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2366 items
tests/agent/test_ambient.py ........................................... [ 1%]
tests/agent/test_ambient_integration.py ....................... [ 2%]
tests/agent/test_app_detector.py ....................................... [ 4%]
........................................................................ [ 7%]
................. [ 8%]
tests/agent/test_audio_ducker.py ....................................... [ 9%]
.......... [ 10%]
tests/agent/test_health.py ............................................. [ 12%]
............. [ 12%]
tests/agent/test_interventions.py ...................................... [ 14%]
......................... [ 15%]
tests/agent/test_job_scheduler.py ................FF.FFFFFFFF.FFFF..FF.F [ 16%]
.F.FFF................ [ 17%]
tests/agent/test_notifier.py ........................................... [ 19%]
....... [ 20%]
tests/agent/test_observer.py ........................................... [ 21%]
............ [ 22%]
tests/agent/test_planner.py ............................................ [ 24%]
.............................F.. [ 25%]
tests/agent/test_proactive.py ........................................ [ 27%]
tests/agent/test_rl_engine.py .......................................... [ 29%]
............. [ 29%]
tests/agent/test_tts.py ................................................ [ 31%]
..........F... [ 32%]
tests/agent/test_wake_word.py .....................................FFF.. [ 33%]
.... [ 34%]
tests/core/test_brain_integrations.py .................................. [ 35%]
..............................F...................... [ 37%]
tests/core/test_config_cli.py .......................................... [ 39%]
. [ 39%]
tests/core/test_core_stabilization.py ..............ssssssssssssssssssss [ 41%]
ssss............ [ 41%]
tests/core/test_regex_audit.py ......................................... [ 43%]
............ [ 43%]
tests/core/test_rlhf_feedback.py ....................................... [ 45%]
...................................................... [ 47%]
tests/core/test_router.py .............................................. [ 49%]
.................. [ 50%]
tests/core/test_systemd.py ............................. [ 51%]
tests/data/test_json_migration.py ...................................... [ 53%]
........... [ 53%]
tests/data/test_store.py ............................................... [ 55%]
............... [ 56%]
tests/interface/test_telegram_llm.py FFFFFEEEEFFFFFFFFFFF.......FFFFFFFF [ 58%]
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 59%]
tests/memory/test_deep_probe.py ................................. [ 61%]
tests/memory/test_distiller.py ....................................... [ 62%]
tests/memory/test_vector_memory.py ..................................... [ 64%]
[ 64%]
tests/personality/test_bonding.py ...................................... [ 65%]
..... [ 66%]
tests/personality/test_persona.py ...................................... [ 67%]
...................... [ 68%]
tests/tools/test_filesystem_autochain.py ...............ssssss.... [ 69%]
tests/tools/test_gmail_autochain.py ............... [ 70%]
tests/tools/test_web_reader.py ................... [ 71%]
tests/tools/test_web_search.py ......... [ 71%]
tests/tui/test_header.py FFFFFFFFFFFFFFFFFFFFFFFFFF...FFFF....FFF [ 73%]
tests/tui/test_input_control.py ........................................ [ 74%]
................... [ 75%]
tests/tui/test_mood.py ................................................. [ 77%]
F.... [ 78%]
tests/tui/test_streaming.py FFFFFFFFFFFFFFFFFFFFFFFFF [ 79%]
tests/tui/test_telemetry.py ..................................FFFFFF.... [ 80%]
....FFFFFFF [ 81%]
tests/tui/test_toast.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 83%]
FFFFFFFFFFFF........................FFFFFFFF [ 85%]
tests/vision/test_accessibility.py ..................................... [ 86%]
.... [ 87%]
tests/vision/test_navigator.py ......................................... [ 88%]
..... [ 89%]
tests/vision/test_spatial_cache.py ..................................... [ 90%]
.............. [ 91%]
tests/vision/test_vision.py ............................................ [ 93%]
..... [ 93%]
tests/workflows/test_maintenance.py .................................... [ 94%]
................. [ 95%]
tests/workflows/test_overnight_poll.py ................................. [ 96%]
..................... [ 97%]
tests/workflows/test_reflection.py ..................................... [ 99%]
................ [100%]
==================================== ERRORS ====================================
_______ ERROR at setup of TestRateLimiter.test_under_limit_returns_false _______
self = <tests.interface.test_telegram_llm.TestRateLimiter object at 0x7e3352da1450>
def setup_method(self):
> import bantz.interface.telegram_bot as mod
tests/interface/test_telegram_llm.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
Bantz v3 — Telegram Bot
Dual-path remote telegraph for phone access:
1. Express Wire (/commands) — fast, LLM-free direct tool calls
2. Cognitive Wire (free text) — full brain.process() with LLM (#178)
Commands:
/briefing → full morning summary
/hava → weather report
/mail → unread emails
/takvim → today's calendar events
/odev → upcoming assignments
/ders → today's schedule
/siradaki → next class
/haber → latest news
Usage:
python -m bantz.interface.telegram_bot
Env:
TELEGRAM_BOT_TOKEN=...
TELEGRAM_ALLOWED_USERS=123456,789012 # optional whitelist
TELEGRAM_LLM_MODE=true # enable free-text → LLM
"""
from __future__ import annotations
import asyncio
import logging
import os
import random
import time
from collections import defaultdict
from typing import Callable, Coroutine, Any
> from telegram import Update
E ModuleNotFoundError: No module named 'telegram'
src/bantz/interface/telegram_bot.py:36: ModuleNotFoundError
_________ ERROR at setup of TestRateLimiter.test_at_limit_returns_true _________
self = <tests.interface.test_telegram_llm.TestRateLimiter object at 0x7e3352da1030>
def setup_method(self):
> import bantz.interface.telegram_bot as mod
tests/interface/test_telegram_llm.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
Bantz v3 — Telegram Bot
Dual-path remote telegraph for phone access:
1. Express Wire (/commands) — fast, LLM-free direct tool calls
2. Cognitive Wire (free text) — full brain.process() with LLM (#178)
Commands:
/briefing → full morning summary
/hava → weather report
/mail → unread emails
/takvim → today's calendar events
/odev → upcoming assignments
/ders → today's schedule
/siradaki → next class
/haber → latest news
Usage:
python -m bantz.interface.telegram_bot
Env:
TELEGRAM_BOT_TOKEN=...
TELEGRAM_ALLOWED_USERS=123456,789012 # optional whitelist
TELEGRAM_LLM_MODE=true # enable free-text → LLM
"""
from __future__ import annotations
import asyncio
import logging
import os
import random
import time
from collections import defaultdict
from typing import Callable, Coroutine, Any
> from telegram import Update
E ModuleNotFoundError: No module named 'telegram'
src/bantz/interface/telegram_bot.py:36: ModuleNotFoundError
______ ERROR at setup of TestRateLimiter.test_different_users_independent ______
self = <tests.interface.test_telegram_llm.TestRateLimiter object at 0x7e3352da0c40>
def setup_method(self):
> import bantz.interface.telegram_bot as mod
tests/interface/test_telegram_llm.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
Bantz v3 — Telegram Bot
Dual-path remote telegraph for phone access:
1. Express Wire (/commands) — fast, LLM-free direct tool calls
2. Cognitive Wire (free text) — full brain.process() with LLM (#178)
Commands:
/briefing → full morning summary
/hava → weather report
/mail → unread emails
/takvim → today's calendar events
/odev → upcoming assignments
/ders → today's schedule
/siradaki → next class
/haber → latest news
Usage:
python -m bantz.interface.telegram_bot
Env:
TELEGRAM_BOT_TOKEN=...
TELEGRAM_ALLOWED_USERS=123456,789012 # optional whitelist
TELEGRAM_LLM_MODE=true # enable free-text → LLM
"""
from __future__ import annotations
import asyncio
import logging
import os
import random
import time
from collections import defaultdict
from typing import Callable, Coroutine, Any
> from telegram import Update
E ModuleNotFoundError: No module named 'telegram'
src/bantz/interface/telegram_bot.py:36: ModuleNotFoundError
_____________ ERROR at setup of TestRateLimiter.test_window_expiry _____________
self = <tests.interface.test_telegram_llm.TestRateLimiter object at 0x7e3352da1960>
def setup_method(self):
> import bantz.interface.telegram_bot as mod
tests/interface/test_telegram_llm.py:119:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
Bantz v3 — Telegram Bot
Dual-path remote telegraph for phone access:
1. Express Wire (/commands) — fast, LLM-free direct tool calls
2. Cognitive Wire (free text) — full brain.process() with LLM (#178)
Commands:
/briefing → full morning summary
/hava → weather report
/mail → unread emails
/takvim → today's calendar events
/odev → upcoming assignments
/ders → today's schedule
/siradaki → next class
/haber → latest news
Usage:
python -m bantz.interface.telegram_bot
Env:
TELEGRAM_BOT_TOKEN=...
TELEGRAM_ALLOWED_USERS=123456,789012 # optional whitelist
TELEGRAM_LLM_MODE=true # enable free-text → LLM
"""
from __future__ import annotations
import asyncio
import logging
import os
import random
import time
from collections import defaultdict
from typing import Callable, Coroutine, Any
> from telegram import Update
E ModuleNotFoundError: No module named 'telegram'
src/bantz/interface/telegram_bot.py:36: ModuleNotFoundError
=================================== FAILURES ===================================
______________ TestJobSchedulerLifecycle.test_start_and_shutdown _______________
self = <tests.agent.test_job_scheduler.TestJobSchedulerLifecycle object at 0x7e33548d4580>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_start_and_shutdown0/test_bantz.db')
@pytest.mark.asyncio
async def test_start_and_shutdown(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
assert not js.started
> await js.start(tmp_db)
tests/agent/test_job_scheduler.py:193:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3351661a80>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_start_and_shutdown0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_________________ TestJobSchedulerLifecycle.test_double_start __________________
self = <tests.agent.test_job_scheduler.TestJobSchedulerLifecycle object at 0x7e33548d4820>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_double_start0/test_bantz.db')
@pytest.mark.asyncio
async def test_double_start(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db)
tests/agent/test_job_scheduler.py:204:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33514df1f0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_double_start0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
___________ TestJobSchedulerLifecycle.test_start_without_night_jobs ____________
self = <tests.agent.test_job_scheduler.TestJobSchedulerLifecycle object at 0x7e33548d4d60>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_start_without_night_jobs0/test_bantz.db')
@pytest.mark.asyncio
async def test_start_without_night_jobs(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:220:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33514e7280>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_start_without_night_jobs0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
___________ TestNightJobRegistration.test_all_night_jobs_registered ____________
self = <tests.agent.test_job_scheduler.TestNightJobRegistration object at 0x7e33548d50c0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_all_night_jobs_registered0/test_bantz.db')
@pytest.mark.asyncio
async def test_all_night_jobs_registered(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:239:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528ee140>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_all_night_jobs_registered0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
__________ TestNightJobRegistration.test_jobs_persist_across_restarts __________
self = <tests.agent.test_job_scheduler.TestNightJobRegistration object at 0x7e33548d5360>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_jobs_persist_across_resta0/test_bantz.db')
@pytest.mark.asyncio
async def test_jobs_persist_across_restarts(self, tmp_db):
"""User reminders stored in SQLAlchemy survive scheduler restart."""
from bantz.agent.job_scheduler import JobScheduler
js1 = JobScheduler()
> await js1.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:256:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3352710e50>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_jobs_persist_across_resta0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
________________ TestDynamicReminder.test_add_oneshot_reminder _________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d5660>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_oneshot_reminder0/test_bantz.db')
@pytest.mark.asyncio
async def test_add_oneshot_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:279:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e335272c940>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_oneshot_reminder0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_________________ TestDynamicReminder.test_add_daily_reminder __________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d5900>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_daily_reminder0/test_bantz.db')
@pytest.mark.asyncio
async def test_add_daily_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:296:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528f7ee0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_daily_reminder0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_________________ TestDynamicReminder.test_add_weekly_reminder _________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d5ba0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_weekly_reminder0/test_bantz.db')
@pytest.mark.asyncio
async def test_add_weekly_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:308:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3351658610>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_weekly_reminder0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
________________ TestDynamicReminder.test_add_weekday_reminder _________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e3354bfe5c0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_weekday_reminder0/test_bantz.db')
@pytest.mark.asyncio
async def test_add_weekday_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:320:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33515c36a0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_weekday_reminder0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
____________ TestDynamicReminder.test_add_custom_interval_reminder _____________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d5c30>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_custom_interval_remin0/test_bantz.db')
@pytest.mark.asyncio
async def test_add_custom_interval_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:332:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33515e7ca0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_add_custom_interval_remin0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
___________________ TestDynamicReminder.test_remove_reminder ___________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d5000>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_remove_reminder0/test_bantz.db')
@pytest.mark.asyncio
async def test_remove_reminder(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:352:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528edd20>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_remove_reminder0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_________________ TestDynamicReminder.test_remove_nonexistent __________________
self = <tests.agent.test_job_scheduler.TestDynamicReminder object at 0x7e33548d48b0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_remove_nonexistent0/test_bantz.db')
@pytest.mark.asyncio
async def test_remove_nonexistent(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:371:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528e18a0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_remove_nonexistent0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
________________________ TestJobListing.test_list_jobs _________________________
self = <tests.agent.test_job_scheduler.TestJobListing object at 0x7e33548d4190>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_list_jobs0/test_bantz.db')
@pytest.mark.asyncio
async def test_list_jobs(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:385:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3351539c60>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_list_jobs0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_______________________ TestJobListing.test_format_jobs ________________________
self = <tests.agent.test_job_scheduler.TestJobListing object at 0x7e33548d5f60>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_format_jobs0/test_bantz.db')
@pytest.mark.asyncio
async def test_format_jobs(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:403:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33515b52d0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_format_jobs0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
______________________ TestRunJobNow.test_run_builtin_job ______________________
self = <tests.agent.test_job_scheduler.TestRunJobNow object at 0x7e33548d65f0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_run_builtin_job0/test_bantz.db')
@pytest.mark.asyncio
async def test_run_builtin_job(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:432:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3352723f70>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_run_builtin_job0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
____________________ TestRunJobNow.test_run_nonexistent_job ____________________
self = <tests.agent.test_job_scheduler.TestRunJobNow object at 0x7e33548d6890>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_run_nonexistent_job0/test_bantz.db')
@pytest.mark.asyncio
async def test_run_nonexistent_job(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:445:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e335272c880>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_run_nonexistent_job0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
______________________ TestStats.test_stats_when_started _______________________
self = <tests.agent.test_job_scheduler.TestStats object at 0x7e33548d6d70>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_stats_when_started0/test_bantz.db')
@pytest.mark.asyncio
async def test_stats_when_started(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:464:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528daa70>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_stats_when_started0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
__________________________ TestStats.test_status_line __________________________
self = <tests.agent.test_job_scheduler.TestStats object at 0x7e33548d71c0>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_status_line0/test_bantz.db')
@pytest.mark.asyncio
async def test_status_line(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=True)
tests/agent/test_job_scheduler.py:485:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33528ed450>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_status_line0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
___________________ TestEventHistory.test_job_executed_event ___________________
self = <tests.agent.test_job_scheduler.TestEventHistory object at 0x7e33548d7220>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_job_executed_event0/test_bantz.db')
@pytest.mark.asyncio
async def test_job_executed_event(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:508:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e33515de5f0>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_job_executed_event0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
____________________ TestEventHistory.test_job_error_event _____________________
self = <tests.agent.test_job_scheduler.TestEventHistory object at 0x7e33548d6a10>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_job_error_event0/test_bantz.db')
@pytest.mark.asyncio
async def test_job_error_event(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:525:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e335273b130>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_job_error_event0/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started:
log.warning("JobScheduler already started")
return
> from apscheduler.schedulers.asyncio import AsyncIOScheduler
E ModuleNotFoundError: No module named 'apscheduler'
src/bantz/agent/job_scheduler.py:441: ModuleNotFoundError
_________________ TestEventHistory.test_history_capped_at_100 __________________
self = <tests.agent.test_job_scheduler.TestEventHistory object at 0x7e33548d6320>
tmp_db = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_history_capped_at_1000/test_bantz.db')
@pytest.mark.asyncio
async def test_history_capped_at_100(self, tmp_db):
from bantz.agent.job_scheduler import JobScheduler
js = JobScheduler()
> await js.start(tmp_db, enable_night_jobs=False)
tests/agent/test_job_scheduler.py:542:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <bantz.agent.job_scheduler.JobScheduler object at 0x7e3352713e50>
db_path = PosixPath('/tmp/pytest-of-iclaldogan/pytest-144/test_history_capped_at_1000/test_bantz.db')
async def start(self, db_path: Path, *, enable_night_jobs: bool = True) -> None:
"""Initialize and start the APScheduler.
Uses two job stores:
- "default" (MemoryJobStore) for built-in cron jobs — re-registered
every startup, no need for persistence.
- "persistent" (SQLAlchemyJobStore) for user reminders — survives
restarts so one-shot reminders aren't lost.
"""
if self._started: