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()