예제 #1
0
    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
    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
 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
 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