fix doobloon
authorOlivier Larchevêque <olivier.larcheveque@auf.org>
Thu, 26 Jul 2012 18:33:36 +0000 (14:33 -0400)
committerOlivier Larchevêque <olivier.larcheveque@auf.org>
Thu, 26 Jul 2012 18:33:36 +0000 (14:33 -0400)
project/rh/test/rapport.py

index 50284aa..0e89284 100644 (file)
@@ -34,15 +34,12 @@ class RapportContratTest(RhTest):
                 )
         salaire.save()
 
-        dollar = rh.Devise(code="CAD", nom="Dollar CAD")
-        dollar.save()
-
         remun_cnf_ngaoundere = rh.Remuneration(
                 type=salaire,
                 date_debut=self.today,
                 dossier=self.dossier_cnf_ngaoundere,
                 montant="100",
-                devise=dollar,
+                devise=self.devise_cad,
                 )
         remun_cnf_ngaoundere.save()