159:c233397bcb7e
Anton Shestakov <av6@dwimlabs.net>, Mon, 18 Jul 2016 15:29:51 +0800
queue: don't use full path to config file (likely to be different in isolation)

next change 160:fda1f8cab608
previous change 145:9c65d66fcda1

tests/test_utils.py

Permissions: -rw-r--r--

Other formats: Feeds:
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