|
@@ -74,12 +74,13 @@ class EmClassTestCase(unittest.TestCase):
|
74
|
74
|
cls.new_field('name', data_handler = 'varchar')
|
75
|
75
|
cls.new_field('string', data_handler = 'varchar')
|
76
|
76
|
cls.new_field('lodel_id', data_handler = 'varchar')
|
|
77
|
+ #Automatic field added
|
77
|
78
|
|
78
|
79
|
fields = cls.fields()
|
79
|
|
- self.assertEqual(len(fields), 3)
|
|
80
|
+ self.assertEqual(len(fields), 4)
|
80
|
81
|
self.assertEqual(
|
81
|
82
|
set([f.uid for f in fields]),
|
82
|
|
- set(['name', 'string', 'lodel_id'])
|
|
83
|
+ set(['name', 'string', 'lodel_id', 'classname'])
|
83
|
84
|
)
|
84
|
85
|
|
85
|
86
|
def test_d_hash(self):
|