1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
92c03f5d8db0 92c03f5d8db0 92c03f5d8db0 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 c44ddd3740e8 aaabe51804ca c44ddd3740e8
# -*- 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)