Ignore:
Timestamp:
2 Jul 2016, 17:43:58 (8 years ago)
Author:
uli
Message:

Shorten test.

Show the essence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py

    r14007 r14008  
    138138        c1 = Contact()
    139139        c2 = Contact()
    140         c1.grades.append('foo')
    141         self.assertTrue(hasattr(c2, 'grades'))
    142         self.assertTrue(isinstance(c2.grades, list))
    143         self.assertEqual(c2.grades, [])
     140        self.assertTrue(c1.grades is not c2.grades)
    144141
    145142
Note: See TracChangeset for help on using the changeset viewer.