import from kontor-flask

This commit is contained in:
Thomas Peetz
2025-01-08 22:31:20 +01:00
parent fc4110b11d
commit 6923b3e5ee
61 changed files with 4296 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""
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)