Anton Shestakov <av6@dwimlabs.net>, Mon, 18 Jul 2016 14:02:28 +0800
checker: take commit to update to as an optional argument
tests/test_utils.py
Permissions: -rw-r--r--
from datetime import datetime from candolint.utils import parse_timestamp, timestamp def test_timestamp_and_parse(): result = parse_timestamp(timestamp()) assert isinstance(result, datetime) assert result.utcoffset() is None