[PyQt] dip snapshot with many test failures
Hans-Peter Jansen
hpj at urpla.net
Tue Oct 19 14:25:25 BST 2010
Hi Phil,
in an attempt to build dip-py2-gpl-0.3-snapshot-dc1c5e94a3f3, I noticed
a huge number of test failures. Is that to be expected?
Pete
Python version: 2.6
sip version: 4.11.2-snapshot-5167b98767e2
Qt4 version: 4.6.3
PyQt4 version: snapshot-4.8-3011e73e866d
-------------- next part --------------
...E....EE..EEEEE.EEE....EEE......EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEEEEEEEE.......EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...EEE.EE.EEEEEEE...EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE..EEEEE.EE...E.EEEEEE..E....E..........
======================================================================
ERROR: Test a Dict attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_io/test_xml.py", line 123, in test_Dict
self.assertDictEqual(m_read.attr, m_write.attr)
AttributeError: 'TestModel' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Test a List attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_io/test_xml.py", line 177, in test_List
self.assertListEqual(m_read.attr, m_write.attr)
AttributeError: 'TestModel' object has no attribute 'assertListEqual'
======================================================================
ERROR: Test a Set attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_io/test_xml.py", line 192, in test_Set
self.assertSetEqual(m_read.attr, m_write.attr)
AttributeError: 'TestModel' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Check the adaptation to an implemented interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 123, in test_adapt
self.assertIs(iface.adaptee, k)
AttributeError: 'TestAdapter' object has no attribute 'assertIs'
======================================================================
ERROR: Check the adaptation of attributes to an implemented interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 136, in test_adapt_attributes
self.assertIs(model.iface.adaptee, k)
AttributeError: 'TestAdapter' object has no attribute 'assertIs'
======================================================================
ERROR: Check using a sub-interface adapter if one is available.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 154, in test_adapt_derived
self.assertIs(type(iface), Klass3Adapter)
AttributeError: 'TestAdapter' object has no attribute 'assertIs'
======================================================================
ERROR: Check sub-interface adapters are singletons.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 163, in test_adapt_derived_singleton
self.assertIs(iface1, iface2)
AttributeError: 'TestAdapter' object has no attribute 'assertIs'
======================================================================
ERROR: Check the adaptation to an unimplemented interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 198, in test_adapt_fail
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check the adapters are singletons.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 146, in test_adapt_singleton
self.assertIs(iface1, iface2)
AttributeError: 'TestAdapter' object has no attribute 'assertIs'
======================================================================
ERROR: Check for duplicate adapters.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 204, in test_duplicate_adapters
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check the adaptee can be garbage collected.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 175, in test_gc
self.assertIsNone(k_ref())
AttributeError: 'TestAdapter' object has no attribute 'assertIsNone'
======================================================================
ERROR: Check adapt rejects a non-adapter.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 65, in test_nonadapter
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check adapt rejects a non-interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 79, in test_noninterface
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check adapt rejects a non-type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_adapter.py", line 72, in test_nontype
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Test the set of a delegated object with an invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_delegate.py", line 59, in test_setter_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Dict type default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 82, in test_default_dict_type_default_value
self.assertDictEqual(k.default_dict, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Default Dict explicit default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 66, in test_default_dict_type_explicit_default
self.assertDictEqual(k.explicit_default_dict, {1: 'one'})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Default Dict type invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 95, in test_default_dict_type_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Dict type valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 89, in test_default_dict_type_valid_value
self.assertDictEqual(k.default_dict, {1: 'one', 'two': 2})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict clear().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 145, in test_dict_clear
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Unchanged dict clear().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 153, in test_dict_clear_unchanged
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict del invalid key.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 281, in test_dict_deleting_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict del valid key.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 274, in test_dict_deleting_valid
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict [] invalid key.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 259, in test_dict_indexing_invalid_key
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict [] invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 266, in test_dict_indexing_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged dict [] valid key/value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 252, in test_dict_indexing_unchanged
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict [] valid key/value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 244, in test_dict_indexing_valid
self.assertDictEqual(k.attr, {'abc': 20})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict pop().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 162, in test_dict_pop
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict pop() with a default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 171, in test_dict_pop_default
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict popitem().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 181, in test_dict_popitem
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict setdefault() invalid key.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 206, in test_dict_setdefault_invalid_key
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict setdefault() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 213, in test_dict_setdefault_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged dict setdefault() valid key/value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 199, in test_dict_setdefault_unchanged
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict setdefault() valid key/value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 190, in test_dict_setdefault_valid
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Default Dict sub-class.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 76, in test_dict_subclass_default
self.assertDictEqual(k.default_dict, {1: 'one'})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict update() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 236, in test_dict_update_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged dict update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 229, in test_dict_update_unchanged
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 221, in test_dict_update_valid
self.assertDictEqual(k.attr, {'abc': 10, 'xyz': 100})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Invalid Dict type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 56, in test_invalid_dict_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict type invalid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 107, in test_valid_dict_invalid_default_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict type rebind invalid dict.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 137, in test_valid_dict_rebind_invalid_dict
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict type rebind invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 130, in test_valid_dict_rebind_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Dict type rebind unchangedvalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 123, in test_valid_dict_rebind_unchanged_value
self.assertDictEqual(k.attr, {})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict type rebind valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 115, in test_valid_dict_rebind_valid_value
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Dict type valid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_dict.py", line 102, in test_valid_dict_valid_default_value
self.assertDictEqual(k.attr, {'abc': 10})
AttributeError: 'TestDictType' object has no attribute 'assertDictEqual'
======================================================================
ERROR: Invalid Enum type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_enum_type.py", line 18, in test_invalid_enum_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Invalid member of an Enum type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_enum_type.py", line 25, in test_invalid_member_enum_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Valid Enum type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_enum_type.py", line 41, in test_valid_enum_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Instance type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 59, in test_default_instance_type
self.assertIs(k.attr, valid_value)
AttributeError: 'TestInstanceType' object has no attribute 'assertIs'
======================================================================
ERROR: Instance type with an explicit default.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 134, in test_explicit_default_instance_type
self.assertIs(k.attr, inst)
AttributeError: 'TestInstanceType' object has no attribute 'assertIs'
======================================================================
ERROR: Invalid Instance type specification.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 41, in test_invalid_instance_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Invalid Instance type string.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 21, in test_invalid_string_instance_type
with self.assertRaises(AttributeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Multiple instance types.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 117, in test_multiple_instance_types
self.assertIs(k.attr, valid_value_1)
AttributeError: 'TestInstanceType' object has no attribute 'assertIs'
======================================================================
ERROR: Valid Instance type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 80, in test_valid_instance_type
self.assertIs(k.attr, valid_value)
AttributeError: 'TestInstanceType' object has no attribute 'assertIs'
======================================================================
ERROR: Valid Instance type string.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_instance_type.py", line 33, in test_valid_string_instance_type
self.assertIs(k.attr, value)
AttributeError: 'TestInstanceType' object has no attribute 'assertIs'
======================================================================
ERROR: Check the casting to an implemented interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_interface.py", line 119, in test_cast
self.assertIs(Iface(k), k)
AttributeError: 'TestInterface' object has no attribute 'assertIs'
======================================================================
ERROR: Check the casting to an unimplemented interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_interface.py", line 128, in test_cast_fail
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check the casting to an unimplemented interface with no exception.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_interface.py", line 139, in test_cast_fail_no_exception
self.assertIsNone(OtherIface(k, exception=False))
AttributeError: 'TestInterface' object has no attribute 'assertIsNone'
======================================================================
ERROR: Check implements rejects a non-interface.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_interface.py", line 48, in test_noninterface
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Check implements rejects a non-model.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_interface.py", line 41, in test_nonmodel
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default List type default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 79, in test_default_list_type_default_value
self.assertListEqual(k.default_list, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Default List explicit default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 63, in test_default_list_type_explicit_default
self.assertListEqual(k.explicit_default_list, [None])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Default List type invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 92, in test_default_list_type_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default List type valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 86, in test_default_list_type_valid_value
self.assertListEqual(k.default_list, [1, True, 'one'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Invalid List type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 56, in test_invalid_list_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List append() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 149, in test_list_append_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List append() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 142, in test_list_append_valid
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List del.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 329, in test_list_del
self.assertListEqual(k.attr, ['y', 'z'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List del slice.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 337, in test_list_del_slice
self.assertListEqual(k.attr, ['z'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List extend() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 172, in test_list_extend_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged list extend().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 165, in test_list_extend_unchanged
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List extend() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 157, in test_list_extend_valid
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List += invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 275, in test_list_iadd_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged list +=.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 268, in test_list_iadd_unchanged
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List += valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 260, in test_list_iadd_valid
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List [] invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 298, in test_list_indexing_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged list [] valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 291, in test_list_indexing_unchanged
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List [] valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 283, in test_list_indexing_valid
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List insert() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 187, in test_list_insert_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List insert() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 180, in test_list_insert_valid
self.assertListEqual(k.attr, ['abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List pop().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 196, in test_list_pop
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List pop() at an index position.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 205, in test_list_pop_index
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List remove() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 220, in test_list_remove_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List remove() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 213, in test_list_remove_valid
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List reverse().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 228, in test_list_reverse
self.assertListEqual(k.attr, ['abc', 'xyz'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Palendromic list reverse().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 236, in test_list_reverse_unchanged
self.assertListEqual(k.attr, ['abc', 'abc'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List [:] invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 321, in test_list_slicing_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged List [:].
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 314, in test_list_slicing_unchanged
self.assertListEqual(k.attr, ['x', 'y', 'z'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List [:] valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 306, in test_list_slicing_valid
self.assertListEqual(k.attr, ['a', 'b', 'c', 'z'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List sort().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 244, in test_list_sort
self.assertListEqual(k.attr, ['abc', 'xyz'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Sorted list sort().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 252, in test_list_sort_unchanged
self.assertListEqual(k.attr, ['abc', 'xyz'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Default List sub-class.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 73, in test_list_subclass_default
self.assertListEqual(k.default_list, [1])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List type invalid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 104, in test_list_type_invalid_default_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List type rebind invalid list.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 134, in test_list_type_rebind_invalid_list
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List type rebind invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 127, in test_list_type_rebind_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: List type rebind unchanged value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 120, in test_list_type_rebind_unchanged_value
self.assertListEqual(k.attr, [])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List type rebind valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 112, in test_list_type_rebind_valid_value
self.assertListEqual(k.attr, ['abc', 'def'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: List type valid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_list.py", line 99, in test_list_type_valid_default_value
self.assertListEqual(k.attr, ['abc', 'def'])
AttributeError: 'TestListType' object has no attribute 'assertListEqual'
======================================================================
ERROR: Observing using the decorator.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 234, in test_decorator
self.check_log(1, k.sub, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing using an implicit observer.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 165, in test_implicit_observer
self.check_log(1, k, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing an initialised attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 180, in test_implicit_observer_initialised
self.check_log(1, k, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing using the decorator more than once.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 258, in test_multi_decorator
self.check_log(2, k.sub, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing a model attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 49, in test_observer
self.check_log(1, k, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing a model mutable attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 149, in test_observer_mutable
self.check_log(1, k, 'attr', ['assigned'], [])
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Removing an observer.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 89, in test_observer_remove
self.check_log(1, k, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing a trigger attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 62, in test_observer_trigger
self.check_log(1, k, 'attr', 'observed', None)
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing an unchanged container attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 133, in test_observer_unchanged_container
self.check_log(1, k, 'attr', data, None)
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing an unchanged fundamental attribute.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 107, in test_observer_unchanged_fundamental_type
self.check_log(1, k, 'attr', 'observed', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing a Trigger using an implicit observer.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 211, in test_trigger_implicit_observer
self.check_log(1, k, 'attr', 'observed', None)
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Observing using the decorator with a wildcard name.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 283, in test_wildcard_decorator
self.check_log(1, k.sub, 'attr1', 'observed1', '')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_observer.py", line 28, in check_log
self.assertIs(change.model, model)
AttributeError: 'TestObserver' object has no attribute 'assertIs'
======================================================================
ERROR: Validate getting of values.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_properties.py", line 99, in test_validate_get
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Validate setting of values.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_properties.py", line 117, in test_validate_set
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Set type default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 79, in test_default_set_type_default_value
self.assertSetEqual(k.default_set, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Default Set explicit default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 63, in test_default_set_type_explicit_default
self.assertSetEqual(k.explicit_default_set, set([None]))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Default Set type invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 92, in test_default_set_type_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Set type valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 86, in test_default_set_type_valid_value
self.assertSetEqual(k.default_set, set([1, True, 'one']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Invalid Set type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 56, in test_invalid_set_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set add() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 149, in test_set_add_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set add() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 142, in test_set_add_valid
self.assertSetEqual(k.attr, set(['abc']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set clear().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 157, in test_set_clear
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Unchanged set clear().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 165, in test_set_clear_unchanged
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set difference_update() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 188, in test_set_difference_update_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set difference_update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 181, in test_set_difference_update_unchanged
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set difference_update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 173, in test_set_difference_update_valid
self.assertSetEqual(k.attr, set(['def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set discard() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 234, in test_set_discard_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set discard() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 227, in test_set_discard_unchanged
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set discard() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 219, in test_set_discard_valid
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set &= invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 280, in test_set_iand_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set &= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 273, in test_set_iand_unchanged
self.assertSetEqual(k.attr, set(['abc']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set &= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 265, in test_set_iand_valid
self.assertSetEqual(k.attr, set(['abc']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set intersection_update() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 257, in test_set_intersection_update_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set intersection_update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 250, in test_set_intersection_update_unchanged
self.assertSetEqual(k.attr, set(['abc']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set intersection_update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 242, in test_set_intersection_update_valid
self.assertSetEqual(k.attr, set(['abc']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set |= invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 380, in test_set_ior_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set |= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 373, in test_set_ior_unchanged
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set |= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 365, in test_set_ior_valid
self.assertSetEqual(k.attr, set(['abc', 'def', 'ghi']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set -= invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 211, in test_set_isub_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set -= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 204, in test_set_isub_unchanged
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set -= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 196, in test_set_isub_valid
self.assertSetEqual(k.attr, set(['def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set ^= invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 334, in test_set_ixor_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set ^= valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 327, in test_set_ixor_valid
self.assertSetEqual(k.attr, set(['def', 'ghi']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set pop().
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 289, in test_set_pop
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set remove() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 304, in test_set_remove_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set remove() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 297, in test_set_remove_valid
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Default Set sub-class.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 73, in test_set_subclass_default
self.assertSetEqual(k.default_set, set([1]))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set symmetric_difference_update() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 319, in test_set_symmetric_difference_update_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set symmetric_difference_update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 312, in test_set_symmetric_difference_update_valid
self.assertSetEqual(k.attr, set(['def', 'ghi']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set type invalid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 104, in test_set_type_invalid_default_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set type rebind invalid set.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 134, in test_set_type_rebind_invalid_set
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set type rebind invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 127, in test_set_type_rebind_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Set type rebind unchanged value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 120, in test_set_type_rebind_unchanged_value
self.assertSetEqual(k.attr, set())
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set type rebind valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 112, in test_set_type_rebind_valid_value
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set type valid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 99, in test_set_type_valid_default_value
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set update() invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 357, in test_set_update_invalid
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Unchanged set update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 350, in test_set_update_unchanged
self.assertSetEqual(k.attr, set(['abc', 'def']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Set update() valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_set.py", line 342, in test_set_update_valid
self.assertSetEqual(k.attr, set(['abc', 'def', 'ghi']))
AttributeError: 'TestSetType' object has no attribute 'assertSetEqual'
======================================================================
ERROR: Invalid Subclass type string.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_subclass.py", line 21, in test_invalid_string_subclass_type
with self.assertRaises(AttributeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Invalid Subclass type specification.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_subclass.py", line 41, in test_invalid_subclass_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Valid Subclass type string.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_subclass.py", line 33, in test_valid_string_subclass_type
self.assertIs(k.attr, value)
AttributeError: 'TestSubclassType' object has no attribute 'assertIs'
======================================================================
ERROR: Valid Subclass type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_subclass.py", line 58, in test_valid_subclass_type
self.assertIs(k.attr, valid_value)
AttributeError: 'TestSubclassType' object has no attribute 'assertIs'
======================================================================
ERROR: Default Tuple type default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 79, in test_default_tuple_type_default_value
self.assertTupleEqual(k.default_tuple, ())
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Default Tuple explicit default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 63, in test_default_tuple_type_explicit_default
self.assertTupleEqual(k.explicit_default_tuple, (None, ))
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Default Tuple type invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 92, in test_default_tuple_type_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Tuple type valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 86, in test_default_tuple_type_valid_value
self.assertTupleEqual(k.default_tuple, (1, True, 'one'))
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Invalid Tuple type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 56, in test_invalid_tuple_type
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Default Tuple sub-class.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 73, in test_tuple_subclass_default
self.assertTupleEqual(k.default_tuple, (1, ))
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Tuple type invalid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 104, in test_tuple_type_invalid_default_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Tuple type rebind invalid tuple.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 134, in test_tuple_type_rebind_invalid_tuple
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Tuple type rebind invalid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 127, in test_tuple_type_rebind_invalid_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Tuple type rebind unchanged value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 120, in test_tuple_type_rebind_unchanged_value
self.assertTupleEqual(k.attr, ())
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Tuple type rebind valid value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 112, in test_tuple_type_rebind_valid_value
self.assertTupleEqual(k.attr, ('abc', 'def'))
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: Tuple type valid default value.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_tuple.py", line 99, in test_tuple_type_valid_default_value
self.assertTupleEqual(k.attr, ('abc', 'def'))
AttributeError: 'TestTupleType' object has no attribute 'assertTupleEqual'
======================================================================
ERROR: The Callable type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 117, in test_Callable
non_default_value=int, invalid_value=True)
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 157, in _test_validating_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: The Float type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 129, in test_Float
non_default_value=10.0, invalid_value='invalid')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 157, in _test_validating_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: The Int type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 123, in test_Int
non_default_value=10, invalid_value='invalid')
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 157, in _test_validating_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: The Str type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 147, in test_Str
non_default_value='non_default', invalid_value=False)
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 157, in _test_validating_type
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: The Trigger type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 140, in test_Trigger
with self.assertRaises(AttributeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Cannot delete model attributes.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 24, in test_del_model_attribute
with self.assertRaises(AttributeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Invalid default values.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_model/test_types.py", line 94, in test_invalid_default_value
with self.assertRaises(ValidationError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Test the bootstrap of the root extension point.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_plugin_manager.py", line 37, in test_bootstrap
self.assertIs(ep, ep.contributions[0])
AttributeError: 'TestPluginManager' object has no attribute 'assertIs'
======================================================================
ERROR: Test ContributionTo.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_plugins.py", line 53, in test_contribution_to
self.assertIs(self.capture.capture[0], injection)
AttributeError: 'TestPlugins' object has no attribute 'assertIs'
======================================================================
ERROR: Test a plugin's ability to create extension points dynamically.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_plugins.py", line 85, in test_contributions
self.assertIsNotNone(ep)
AttributeError: 'TestPlugins' object has no attribute 'assertIsNotNone'
======================================================================
ERROR: Test more than one service.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_services.py", line 61, in test_multiple_services
self.assertIs(service, impl1)
AttributeError: 'TestServices' object has no attribute 'assertIs'
======================================================================
ERROR: Test requesting a non-existent service.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_services.py", line 32, in test_no_service
with self.assertRaises(TypeError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
======================================================================
ERROR: Test with an existing service.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_services.py", line 46, in test_service
self.assertIs(service, impl)
AttributeError: 'TestServices' object has no attribute 'assertIs'
======================================================================
ERROR: Test a non-default service chooser.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_plugins/test_services.py", line 80, in test_service_chooser
self.assertIs(service, impl2)
AttributeError: 'TestServices' object has no attribute 'assertIs'
======================================================================
ERROR: Test bool attributes of a mapping.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_ui/test_mapping.py", line 33, in test_bool
self.assertIs(model['attr'], True)
AttributeError: 'TestMapping' object has no attribute 'assertIs'
======================================================================
ERROR: Test Bool attributes of a model.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/share/doc/packages/python-dip/test/tests/dip_ui/test_model.py", line 58, in test_Bool
self.assertIs(model.attr, True)
AttributeError: 'TestModel' object has no attribute 'assertIs'
----------------------------------------------------------------------
Ran 247 tests in 1.842s
FAILED (errors=188)
More information about the PyQt
mailing list