configurationengine/source/cone/public/tests/unittest_feature.py
changeset 5 d2c80f5cab53
parent 3 e7e0ae78773e
equal deleted inserted replaced
4:0951727b8815 5:d2c80f5cab53
   230     def test_feature_get_dict(self):
   230     def test_feature_get_dict(self):
   231         fea= api.Feature("foo", type='int')
   231         fea= api.Feature("foo", type='int')
   232         self.assertEquals(fea._dict(), {'ref': 'foo',
   232         self.assertEquals(fea._dict(), {'ref': 'foo',
   233                                         'type': 'int',
   233                                         'type': 'int',
   234                                         'name': None,
   234                                         'name': None,
       
   235                                         'extensionAttributes': [],
   235                                         'relevant': None,
   236                                         'relevant': None,
   236                                         'constraint': None })
   237                                         'constraint': None })
   237 
   238 
   238     def test_clone_single_feature(self):
   239     def test_clone_single_feature(self):
   239         fea= api.Feature("foo", type='int')
   240         fea= api.Feature("foo", type='int')