1 # -*- coding: utf-8 -*-
3 from auf
.django
.references
import models
as ref
4 from auf
.django
.emploi
.models
import OffreEmploi
5 from project
.rh
.test
.common
import RhTest
7 class RecrutementTest(RhTest
):
13 self.offre_cnf_ngaoundere
15 super(RecrutementTest
, self
).setUp()
17 self
.offre_cnf_ngaoundere
= OffreEmploi(nom
=u
"Offre CNF ngaoundere",
18 region
=self
.REGION_ACGL
,
19 lieu_affectation
=self
.IMPLANTATION_ACGL_CNF_NGAOUNDERE
,
20 date_limite
=self
.tomorrow
,
21 debut_affectation
=self
.tomorrow
,
22 bureau
=ref
.Bureau
.objects
.get(region
=self
.IMPLANTATION_ACGL_CNF_NGAOUNDERE
.region
),
24 self
.offre_cnf_ngaoundere
.save()