Files
fishfacegit 68e092b06e Handle closed-time typos from SWP API and update local dev setup (#32)
* updated dependencies, fixed "geschlossen" parsing

* httpretty.core warning patch

---------

Co-authored-by: Hadrian Burkhardt <hadrian.burkhardt@gmx.de>
2026-02-18 23:00:09 +01:00

14 lines
258 B
Python

import datetime as _dt
import httpretty.core as _httpretty_core
class _PatchedDateTime(_dt.datetime):
@classmethod
def utcnow(cls):
return _dt.datetime.now(_dt.UTC)
def pytest_configure():
_httpretty_core.datetime = _PatchedDateTime