68e092b06e
* updated dependencies, fixed "geschlossen" parsing * httpretty.core warning patch --------- Co-authored-by: Hadrian Burkhardt <hadrian.burkhardt@gmx.de>
14 lines
258 B
Python
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
|