# Path: arangodb/orm/fields.py
# class CharField(TextField):
# 
#     class TooLongStringException(Exception):
#         """
#         String is too long
#         """
# 
#     def __init__(self, max_length=255, **kwargs):
#         """
#         """
# 
#         super(CharField, self).__init__(**kwargs)
# 
#         self.max_length = max_length
# 
#     def validate(self):
#         """
#         """
# 
#         super(CharField, self).validate()
# 
#         if self.text:
#             if len(self.text) > self.max_length:
#                 raise CharField.TooLongStringException()
# 
#     def __getattribute__(self, item):
#         """
#         """
# 
#         if item == 'flatchoices':
#             return None
#         else:
#             return super(CharField, self).__getattribute__(item)


import unittest
from arangodb.orm.fields import CharField


class CharFieldTestCase(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_equals(self):


# Path: arangodb/orm/fields.py
# class CharField(TextField):
# 
#     class TooLongStringException(Exception):
#         """
#         String is too long
#         """
# 
#     def __init__(self, max_length=255, **kwargs):
#         """
#         """
# 
#         super(CharField, self).__init__(**kwargs)
# 
#         self.max_length = max_length
# 
#     def validate(self):
#         """
#         """
# 
#         super(CharField, self).validate()
# 
#         if self.text:
#             if len(self.text) > self.max_length:
#                 raise CharField.TooLongStringException()
# 
#     def __getattribute__(self, item):
#         """
#         """
# 
#         if item == 'flatchoices':
#             return None
#         else:
#             return super(CharField, self).__getattribute__(item)


# Path: arangodb/tests/orm/fields/char_field.py
import unittest
from arangodb.orm.fields import CharField



class CharFieldTestCase(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_equals(self):


        str1 = CharField()