コード例 #1
0
ファイル: Documento.py プロジェクト: unirio-dtic/sie_dao
    def test_remover_documento(self):
        from sie.SIEProjetosPesquisa import SIEProjetosPesquisa

        dao_projetos = SIEProjetosPesquisa()
        documento = self.dao.criar_documento(
            self.funcionario_dummy, dao_projetos.documento_inicial_padrao(self.funcionario_dummy)
        )
        self.dao.remover_documento(documento)
コード例 #2
0
ファイル: Documento.py プロジェクト: unirio-dtic/sie_dao
    def test_criar_documento_projeto_pesquisa(self):
        from sie.SIEProjetosPesquisa import SIEProjetosPesquisa

        dao_projetos = SIEProjetosPesquisa()
        documento = self.dao.criar_documento(
            self.funcionario_dummy, dao_projetos.documento_inicial_padrao(self.funcionario_dummy)
        )
        self.assertIsInstance(documento, dict)
        self.dao.remover_documento(documento)  # clean poopie
コード例 #3
0
ファイル: Documento.py プロジェクト: unirio-dtic/sie_dao
 def test_remover_documento(self):
     from sie.SIEProjetosPesquisa import SIEProjetosPesquisa
     dao_projetos = SIEProjetosPesquisa()
     documento = self.dao.criar_documento(self.funcionario_dummy, dao_projetos.documento_inicial_padrao(self.funcionario_dummy))
     self.dao.remover_documento(documento)
コード例 #4
0
ファイル: Documento.py プロジェクト: unirio-dtic/sie_dao
 def test_criar_documento_projeto_pesquisa(self):
     from sie.SIEProjetosPesquisa import SIEProjetosPesquisa
     dao_projetos = SIEProjetosPesquisa()
     documento = self.dao.criar_documento(self.funcionario_dummy, dao_projetos.documento_inicial_padrao(self.funcionario_dummy))
     self.assertIsInstance(documento, dict)
     self.dao.remover_documento(documento)  # clean poopie