Skip to content

Commit

Permalink
Tests non reg KO
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed Sep 23, 2017
1 parent b9ca9e3 commit f2256aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ def Create(self, progress_handler=default_progress_handler):
for label in ("Week-end", "1er janvier", "1er mai", "8 mai", "14 juillet", "15 août", "1er novembre", "11 novembre", "25 décembre", "Lundi de Pâques", "Jeudi de l'Ascension"):
cur.execute("INSERT INTO CONGES (idx, debut) VALUES (NULL, ?)", (label, ))
cur.execute("INSERT INTO DATA (key, value) VALUES (?, ?)", ("VERSION", VERSION))
cur.execute('INSERT INTO CRECHE(idx, nom, adresse, code_postal, ville, telephone, ouverture, fermeture, affichage_min, affichage_max, granularite, preinscriptions, presences_previsionnelles, presences_supplementaires, modes_inscription, minimum_maladie, email, type, mode_saisie_planning, periode_revenus, mode_facturation, temps_facturation, repartition, conges_inscription, tarification_activites, traitement_maladie, facturation_jours_feries, facturation_periode_adaptation, formule_taux_effort, masque_alertes, age_maximum, seuil_alerte_inscription, cloture_facturation, arrondi_heures, arrondi_facturation, arrondi_facturation_periode_adaptation, arrondi_mensualisation, arrondi_heures_salaries, arrondi_mensualisation_euros, arrondi_semaines, gestion_maladie_hospitalisation, tri_inscriptions, tri_planning, tri_factures, smtp_server, caf_email, mode_accueil_defaut, gestion_absences_non_prevenues, gestion_maladie_sans_justificatif, gestion_preavis_conges, gestion_depart_anticipe, alerte_depassement_planning, last_tablette_synchro, changement_groupe_auto, allergies, regularisation_fin_contrat, regularisation_conges_non_pris, date_raz_permanences, conges_payes_salaries, conges_supplementaires_salaries, cout_journalier) VALUES (NULL,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',
cur.execute('INSERT INTO CRECHE(idx, nom, adresse, code_postal, ville, telephone, ouverture, fermeture, affichage_min, affichage_max, granularite, preinscriptions, presences_previsionnelles, presences_supplementaires, modes_inscription, minimum_maladie, email, type, mode_saisie_planning, periode_revenus, mode_facturation, temps_facturation, repartition, conges_inscription, tarification_activites, traitement_maladie, facturation_jours_feries, facturation_periode_adaptation, formule_taux_effort, masque_alertes, age_maximum, seuil_alerte_inscription, cloture_facturation, arrondi_heures, arrondi_facturation, arrondi_facturation_periode_adaptation, arrondi_mensualisation, arrondi_heures_salaries, arrondi_mensualisation_euros, arrondi_semaines, gestion_maladie_hospitalisation, tri_inscriptions, tri_planning, tri_factures, smtp_server, caf_email, mode_accueil_defaut, gestion_absences_non_prevenues, gestion_maladie_sans_justificatif, gestion_preavis_conges, gestion_depart_anticipe, alerte_depassement_planning, last_tablette_synchro, changement_groupe_auto, allergies, regularisation_fin_contrat, regularisation_conges_non_pris, date_raz_permanences, conges_payes_salaries, conges_supplementaires_salaries, cout_journalier) VALUES (NULL,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)',
( "", "", "", "", "", 7.75, 18.5, 7.75, 19.0, 15, False, False, True, MODE_HALTE_GARDERIE + MODE_4_5 + MODE_3_5, 3, "", TYPE_PARENTAL, SAISIE_HORAIRE, REVENUS_YM2, FACTURATION_PSU, FACTURATION_FIN_MOIS, REPARTITION_MENSUALISATION_12MOIS, 0, 0, DEDUCTION_MALADIE_AVEC_CARENCE_JOURS_OUVRES, ABSENCES_DEDUITES_EN_SEMAINES, PERIODE_ADAPTATION_FACTUREE_NORMALEMENT, "None", 0, 3, 3, 0, SANS_ARRONDI, SANS_ARRONDI, SANS_ARRONDI, ARRONDI_HEURE_PLUS_PROCHE, SANS_ARRONDI, SANS_ARRONDI, ARRONDI_SEMAINE_SUPERIEURE, False, TRI_NOM, TRI_NOM, TRI_NOM, "", "", 0, False, False, False, False, False, "", False, "", True, True, None, 25, 0, 0.0))
cur.execute('INSERT INTO BAREMESCAF (idx, debut, fin, plancher, plafond) VALUES (NULL,?,?,?,?)', (datetime.date(2006, 9, 1), datetime.date(2007, 8, 31), 6547.92, 51723.60))
cur.execute('INSERT INTO BAREMESCAF (idx, debut, fin, plancher, plafond) VALUES (NULL,?,?,?,?)', (datetime.date(2007, 9, 1), datetime.date(2008, 12, 31), 6660.00, 52608.00))
Expand Down

0 comments on commit f2256aa

Please sign in to comment.