Commit | Line | Data |
---|---|---|
07039f95 OL |
1 | # -*- coding: utf-8 -*- |
2 | ||
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 | |
6 | ||
7 | class RecrutementTest(RhTest): | |
8 | ||
9 | def setUp(self): | |
10 | """ | |
11 | OFFRE_EMPLOIS | |
12 | ============= | |
13 | self.offre_cnf_ngaoundere | |
14 | """ | |
15 | super(RecrutementTest, self).setUp() | |
16 | ||
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), | |
23 | ) | |
24 | self.offre_cnf_ngaoundere.save() | |
25 |