diff options
author | 2021-08-07 10:48:57 -0700 | |
---|---|---|
committer | 2021-08-07 10:48:57 -0700 | |
commit | 2209b9f1b95cbe2366ea2b316046ddd35ff6d3a9 (patch) | |
tree | bbeebd642d8b54b1812180452c17f0cb35c13a02 /tests/__init__.py | |
parent | Time: use typing.Literal for precision param of humanize_delta (diff) |
Fix create_user_embed tests
Mock User.created_at and User.joined_at because `arrow.get()` doesn't
work with Mock objects. The old implementation of
`time.discord_timestamp` accepted mocks because it just did `int()` on
any type it didn't explicitly check for.
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions