Source code for carepoint.tests.models.cph.test_patient_allergy
# -*- coding: utf-8 -*-
# Copyright 2015-TODAY LasLabs Inc.
# License MIT (https://opensource.org/licenses/MIT).
import unittest
from sqlalchemy.schema import Table
from carepoint.tests.db.db import DatabaseTest
from carepoint.models.cph.patient_allergy import PatientAllergy
[docs]class TestModelsCphPatientAllergy(DatabaseTest):
[docs] def test_table_initialization(self, ):
self.assertIsInstance(PatientAllergy.__table__, Table)
if __name__ == '__main__':
unittest.main()