Files
kontor/flask/tests/test_kontor_model.py
T
2025-01-08 22:31:20 +01:00

15 lines
370 B
Python

"""
This module cantains tests for the general Kontor data model.
"""
from . import TestBase
from kontor.models import User
class TestKontorModel(TestBase):
"""This TestCase contains tests for users."""
def test_user_model(self):
"""
Test number of records in User collection
"""
self.assertEqual(User.objects.all().count(), 2)