File: test_complex_content.py

package info (click to toggle)
python-xsdata 24.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,936 kB
  • sloc: python: 29,257; xml: 404; makefile: 27; sh: 6
file content (11 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from unittest import TestCase

from xsdata.models.xsd import ComplexContent, SimpleContent


class ComplexContentTests(TestCase):
    def test_class(self):
        obj = ComplexContent()
        self.assertIsInstance(obj, SimpleContent)

        self.assertFalse(obj.mixed)