Em 28/02/2014 04:44, Jean C escreveu:
How did you set self.party ? and Factory ?

class TestCase(unittest.TestCase):
    '''
    Test module.
    '''

    def setUp(self):
        trytond.tests.test_tryton.install_module('nfse_br')
        self.party = POOL.get('party.party')
...
And why is faker created outside the transaction ?

It has no reason. I can put inside the transaction.
Jean Cavallo
/Coopengo/

--

Iasmini Gomes
Sílex Sistemas
www.silexsistemas.com.br



---
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus 
está ativa.
http://www.avast.com

Reply via email to