rattail/tests/test_core.py
Lance Edgar 92c03f5d8d General header / Unicode cleanup.
This hopefully updates all module headers such that the file encoding is
utf-8, and uses Unicode literals, etc.
2014-11-18 23:29:26 -06:00

16 lines
298 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from unittest import TestCase
from rattail import core
class TestCore(TestCase):
def test_get_uuid(self):
uuid = core.get_uuid()
self.assertTrue(isinstance(uuid, str))
self.assertEqual(len(uuid), 32)