def test_ResourceDesc(self): # Instantiate without args and then set rd1 = ResourceDesc() rd1.setResourceDesc(name='res1',res_type=ResourceTypes.RESTYPE_GENERIC) # Instantiate with args rd2 = ResourceDesc(name='res2',res_type=ResourceTypes.RESTYPE_GENERIC) # Instantiate with name only rd3 = ResourceDesc(res_type=ResourceTypes.RESTYPE_GENERIC)