# Path: oaxmlapi/datatypes.py
# class Datatype(_Base):
#     def __init__(self, type, fields):
#     def __str__(self):
#     def getDatatype(self):
#     def _main(self):


import unittest
    import xml.etree.cElementTree as ET
    import xml.etree.ElementTree as ET
from oaxmlapi import datatypes
# -*- coding: utf-8
from __future__ import absolute_import

try:
except ImportError:


class TestDatatypesClass(unittest.TestCase):

    def test_str(self):
        self.assertEqual(
            str(datatypes.Datatype('Date', {})),
            '<Datatype type=Date>'
        )

    def test_getDatatype(self):
        self.assertIsInstance(

# Path: oaxmlapi/datatypes.py
# class Datatype(_Base):
#     def __init__(self, type, fields):
#     def __str__(self):
#     def getDatatype(self):
#     def _main(self):


# Path: tests/datatypes/test_datatypes.py
import unittest
    import xml.etree.cElementTree as ET
    import xml.etree.ElementTree as ET
from oaxmlapi import datatypes

# -*- coding: utf-8
from __future__ import absolute_import

try:
except ImportError:


class TestDatatypesClass(unittest.TestCase):

    def test_str(self):
        self.assertEqual(
            str(datatypes.Datatype('Date', {})),
            '<Datatype type=Date>'
        )

    def test_getDatatype(self):
        self.assertIsInstance(

            datatypes.Datatype('Date', {}).getDatatype(),