Skip to content

Commit

Permalink
Fixup missing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
imranariffin committed Dec 2, 2023
1 parent 116da4e commit a11dc76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/test_serde.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from importlib import import_module
import json

from aiotaskq.serde import JsonTaskSerialization
Expand Down Expand Up @@ -74,3 +75,6 @@ def test_serialize_task_to_json__with_retry_param():
},
},
}
# And the deserialized task should function the same as the original
task_deserialized = import_module(task_serialized_dict["func"]["module"]).some_task_2
task_deserialized(2, 3) == some_task_2(2, 3)

0 comments on commit a11dc76

Please sign in to comment.