<commit_before># from __future__ import unicode_literals
#
# from django.test import TestCase
# from django_apogee.factories import AnneeUniFactory, PaysFactory, DepartementFactory, SitFamFactory, SitMilFactory, \
#     TypHandicapFactory, TypeHebergementFactory, SituationSiseFactory, BacOuxEquFactory, MentionBacFactory, ComBdiFactory, \
#     TypEtbFactory, EtablissementFactory, CatSocPflFactory, QuotiteTraFactory, DomaineActPflFactory, \
#     TypeDiplomeExtFactory, RegimeParentFactory, MtfNonAflSsoFactory, SitSocialeFactory, BourseFactory, ComposanteFactory, \
#     CentreGestionFactory, EtapeFactory, EtpGererCgeFactory, ElpFactory, ElpLibelleFactory, DiplomeFactory, \
#     CmpHabiliterVdiFactory, VersionEtapeFactory, VdiFractionnerVetFactory
# from django_apogee.factories.individu_factories import IndividuFactory, AdressFactory, InsAdmEtpFactory
# from django_apogee.models import Individu, Adresse, InsAdmEtp, Pays, Departement, SitFam, SitMil, TypHandicap, \
#     TypHebergement, SituationSise, BacOuxEqu, MentionBac, ComBdi, TypEtb, Etablissement, CatSocPfl, QuotiteTra, \
#     DomaineActPfl, TypeDiplomeExt, RegimeParent, MtfNonAflSso, SitSociale, Bourse, Composante, CentreGestion, Etape, \
#     EtpGererCge, Elp, ElpLibelle, Diplome, CmpHabiliterVdi, VersionEtape, VdiFractionnerVet
#
#
# class AnimalTestCase(TestCase):
#
#     def test_animals_can_speak(self):
#         """Animals that can speak are correctly identified"""
#         print "TestStarting"
#
#
# class IndividuTestCase(TestCase):
#
#     def test_indvidu_build(self):
#         IndividuFactory.build()
#
#     def test_individu_create(self):
#         indiv = IndividuFactory.create_individu_with_two_adresses()
#         self.assertEqual(1, Individu.objects.count())
#         self.assertEqual(2, Adresse.objects.count())
#
#     def test_individu_adresse(self):
#         indiv = IndividuFactory.create()
#         self.assertEqual("", indiv.get_full_adresse(2010))
#         indiv = IndividuFactory.create_individu_with_two_adresses()
#         indiv = Individu.objects.get(pk=indiv.pk)
#         self.assertNotEqual('', indiv.get_full_adresse(2010))
#
#
# class InsAdmEtpTestCase(TestCase):
#
#     def test_insadmetp_create(self):
#         ins = InsAdmEtpFactory.create()<commit_msg>mise à jour des paiements<commit_after># from __future__ import unicode_literals
#
from django.test import TestCase
# from django_apogee.factories import AnneeUniFactory, PaysFactory, DepartementFactory, SitFamFactory, SitMilFactory, \
#     TypHandicapFactory, TypeHebergementFactory, SituationSiseFactory, BacOuxEquFactory, MentionBacFactory, ComBdiFactory, \
#     TypEtbFactory, EtablissementFactory, CatSocPflFactory, QuotiteTraFactory, DomaineActPflFactory, \
#     TypeDiplomeExtFactory, RegimeParentFactory, MtfNonAflSsoFactory, SitSocialeFactory, BourseFactory, ComposanteFactory, \
#     CentreGestionFactory, EtapeFactory, EtpGererCgeFactory, ElpFactory, ElpLibelleFactory, DiplomeFactory, \
#     CmpHabiliterVdiFactory, VersionEtapeFactory, VdiFractionnerVetFactory
# from django_apogee.factories.individu_factories import IndividuFactory, AdressFactory, InsAdmEtpFactory
# from django_apogee.models import Individu, Adresse, InsAdmEtp, Pays, Departement, SitFam, SitMil, TypHandicap, \
#     TypHebergement, SituationSise, BacOuxEqu, MentionBac, ComBdi, TypEtb, Etablissement, CatSocPfl, QuotiteTra, \
#     DomaineActPfl, TypeDiplomeExt, RegimeParent, MtfNonAflSso, SitSociale, Bourse, Composante, CentreGestion, Etape, \
#     EtpGererCge, Elp, ElpLibelle, Diplome, CmpHabiliterVdi, VersionEtape, VdiFractionnerVet
#
#
class AnimalTestCase(TestCase):

    def test_animals_can_speak(self):
        """Animals that can speak are correctly identified"""
        print "TestStarting"
        self.asser
#
#
# class IndividuTestCase(TestCase):
#
#     def test_indvidu_build(self):
#         IndividuFactory.build()
#
#     def test_individu_create(self):
#         indiv = IndividuFactory.create_individu_with_two_adresses()
#         self.assertEqual(1, Individu.objects.count())
#         self.assertEqual(2, Adresse.objects.count())
#
#     def test_individu_adresse(self):
#         indiv = IndividuFactory.create()
#         self.assertEqual("", indiv.get_full_adresse(2010))
#         indiv = IndividuFactory.create_individu_with_two_adresses()
#         indiv = Individu.objects.get(pk=indiv.pk)
#         self.assertNotEqual('', indiv.get_full_adresse(2010))
#
#
# class InsAdmEtpTestCase(TestCase):
#
#     def test_insadmetp_create(self):
#         ins = InsAdmEtpFactory.create()
{'fraction_non_alphanumeric': 0.0935455734845181, 'fraction_numerical': 0.00436109899694723, 'mean_word_length': 5.215447154471545, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4295384', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1565, 'n_words': 262}