diff --git a/tests/utils/test_util.py b/tests/utils/test_util.py new file mode 100644 index 00000000..7b29c8d6 --- /dev/null +++ b/tests/utils/test_util.py @@ -0,0 +1,13 @@ +import datetime + +from protean.utils import utcnow_func + + +def test_utcnow_func(): + func = utcnow_func + assert func is not None + assert callable(func) is True + + result = func() + assert result is not None + assert type(result) == datetime.datetime