def setUp(self): self.progr = Programa("un_programa") self.instr = Instruccion('Instruccion 1') #Action self.progr.agregarInstruccion(self.instr)