====================================================================== ERROR: test0010mailbox_read_rights (tests.test_electronic_mail.ElectronicMailTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vishesh/develop/openlabs/tryton-module-try/electronic_mail/tests/test_electronic_mail.py", line 102, in test0010mailbox_read_rights 'write_users': [('set', [user_set_1[2]])], File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 376, in create cls._validate(records) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1020, in _validate required_test(getattr(record, field_name), field_name) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1316, in __getattr__ read_data = self.read(list(ids), ffields.keys()) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 408, in read domain1, domain2 = Rule.domain_get(cls.__name__, mode='read') File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 166, in domain_get return cls.domain_get(model_name, mode=mode) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 253, in domain_get query, val = obj.search(clause, order=[], query_string=True) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1030, in search qu1, qu2, tables, tables_args = cls.search_domain(domain) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1183, in search_domain qu1, qu2 = cls.__search_domain_oper(domain, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1212, in __search_domain_oper qu1, qu2 = cls.__search_domain_calc(tuple_args, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1247, in __search_domain_calc field = getattr(cls, fargs[0]) AttributeError: type object 'electronic_mail.mailbox' has no attribute 'model' ====================================================================== ERROR: test0020mail_create_access_rights (tests.test_electronic_mail.ElectronicMailTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vishesh/develop/openlabs/tryton-module-try/electronic_mail/tests/test_electronic_mail.py", line 149, in test0020mail_create_access_rights 'write_users': [('set', [user_w])], File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 376, in create cls._validate(records) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1020, in _validate required_test(getattr(record, field_name), field_name) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1316, in __getattr__ read_data = self.read(list(ids), ffields.keys()) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 408, in read domain1, domain2 = Rule.domain_get(cls.__name__, mode='read') File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 166, in domain_get return cls.domain_get(model_name, mode=mode) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 253, in domain_get query, val = obj.search(clause, order=[], query_string=True) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1030, in search qu1, qu2, tables, tables_args = cls.search_domain(domain) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1183, in search_domain qu1, qu2 = cls.__search_domain_oper(domain, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1212, in __search_domain_oper qu1, qu2 = cls.__search_domain_calc(tuple_args, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1247, in __search_domain_calc field = getattr(cls, fargs[0]) AttributeError: type object 'electronic_mail.mailbox' has no attribute 'model' ====================================================================== ERROR: test0030_email_message_extraction (tests.test_electronic_mail.ElectronicMailTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vishesh/develop/openlabs/tryton-module-try/electronic_mail/tests/test_electronic_mail.py", line 213, in test0030_email_message_extraction 'write_users': [('set', [USER])], File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 376, in create cls._validate(records) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1020, in _validate required_test(getattr(record, field_name), field_name) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelstorage.py", line 1316, in __getattr__ read_data = self.read(list(ids), ffields.keys()) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 408, in read domain1, domain2 = Rule.domain_get(cls.__name__, mode='read') File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 166, in domain_get return cls.domain_get(model_name, mode=mode) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/ir/rule.py", line 253, in domain_get query, val = obj.search(clause, order=[], query_string=True) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1030, in search qu1, qu2, tables, tables_args = cls.search_domain(domain) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1183, in search_domain qu1, qu2 = cls.__search_domain_oper(domain, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1220, in __search_domain_oper tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1212, in __search_domain_oper qu1, qu2 = cls.__search_domain_calc(tuple_args, tables, tables_args) File "/home/vishesh/develop/openlabs/tryton-module-try/lib/python2.7/site-packages/trytond-2.8.3-py2.7.egg/trytond/model/modelsql.py", line 1247, in __search_domain_calc field = getattr(cls, fargs[0]) AttributeError: type object 'electronic_mail.mailbox' has no attribute 'model' ---------------------------------------------------------------------- Ran 5 tests in 6.273s FAILED (errors=3)