Anton Shestakov <av6@dwimlabs.net>, Sun, 17 Jul 2016 22:30:04 +0800
viewer: use thread-local IOLoop instance (recommended by Tornado docs)
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