ants-hub/tests/test_models.py

9 lines
208 B
Python

# ANTS-Hub - Copyright (C) Entr'ouvert
from ants_hub.data.models import Raccordement
def test_raccordement(db):
apikey = Raccordement.objects.create(name='Example')
assert len(apikey.apikey) >= 32