(cls, tz=None)
| 151 | class FixedDateTime(datetime.datetime): |
| 152 | @classmethod |
| 153 | def now(cls, tz=None): |
| 154 | if tz: |
| 155 | return fixed_now.astimezone(tz) |
| 156 | return fixed_now |
| 157 | |
| 158 | with patch("astrbot.core.astr_main_agent.datetime.datetime", FixedDateTime): |
| 159 | ama._append_system_reminders( |
no outgoing calls
no test coverage detected