Files @ d9b506352a89
Branch filter:

Location: rattail-project/rattail/tests/test_core.py

Lance Edgar
Change behavior of `files.locking_copy()` function.

The test function has been doing its job well, I'm calling it the better
function at this point.
# -*- 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)