Files @ 57f6ebd8ea4b
Branch filter:

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

lance
Add `User.active` and disallow authentication for inactive users.

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)