mirror of
https://github.com/apache/superset.git
synced 2026-04-18 15:44:57 +00:00
chore: enforce more ruff rules (#31447)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9da65d6bfd
commit
e51b95ffa8
@@ -66,7 +66,7 @@ def test_custom_default_md5_sha():
|
||||
"datetime": datetime.datetime.now(),
|
||||
}
|
||||
|
||||
serialized_obj = '{"company": "Gobias Industries", "datetime": "<datetime>", "product": "Coffee"}'
|
||||
serialized_obj = '{"company": "Gobias Industries", "datetime": "<datetime>", "product": "Coffee"}' # noqa: E501
|
||||
|
||||
assert md5_sha_from_str(serialized_obj) == md5_sha_from_dict(
|
||||
obj, default=custom_datetime_serializer
|
||||
|
||||
Reference in New Issue
Block a user