Esempio n. 1
0
 def test_model_item_type(self):
     "Test item type model"
     obj = ItemType(name='test')
     obj.save()
     self.assertEquals('test', obj.name)
     self.assertNotEquals(obj.id, None)
     obj.delete()