This commit is contained in:
Kenneth Kehl
2024-11-15 12:30:58 -08:00
parent 703a29f577
commit 1f0a64d6a5
7 changed files with 31 additions and 14 deletions

View File

@@ -1,8 +1,9 @@
import pytest
from freezegun import freeze_time
from sqlalchemy import select
from sqlalchemy.exc import IntegrityError
from app import encryption
from app import db, encryption
from app.enums import (
AgreementStatus,
AgreementType,
@@ -408,7 +409,7 @@ def test_annual_billing_serialize():
def test_repr():
service = create_service()
sps = ServicePermission.query.all()
sps = db.session.execute(select(ServicePermission)).scalars().all()
for sp in sps:
assert "has service permission" in sp.__repr__()