# Path: core/models.py
# def _get_file_path(instance, filename):
#     def age(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def documentation_correct(self):
#     def __str__(self):
# class Person(models.Model):
#     class Meta:
# class Recipient(models.Model):
#     class Meta:
# class Volunteer(models.Model):
#     class Meta:
# class Custodian(models.Model):
#     class Meta:
# class Project(models.Model):
#     class Meta:
# class Group(models.Model):
#     class Meta:
# class Event(models.Model):
#     class Meta:
# class Enrolment(models.Model):
#     class Meta:
# class Membership(models.Model):
#     class Meta:
# class Member(models.Model):
#     class Meta:
#     CATEGORIES = [
#         ('child', _('Infantil')),
#         ('juvenile', _('Juvenil')),
#     ]
#     COURSES = [
#         ('4EI', _('4 Educacion Infantil')),
#         ('5EI', _('5 Educacion Infantil')),
#         ('6EI', _('6 Educacion Infantil')),
#         ('1EP', _('1 Educacion Primaria')),
#         ('2EP', _('2 Educacion Primaria')),
#         ('3EP', _('3 Educacion Primaria')),
#         ('4EP', _('4 Educacion Primaria')),
#         ('5EP', _('5 Educacion Primaria')),
#         ('6EP', _('6 Educacion Primaria')),
#         ('1ESO', _('1 Educación Secundaria Obligatoria')),
#         ('2ESO', _('2 Educación Secundaria Obligatoria')),
#         ('3ESO', _('3 Educación Secundaria Obligatoria')),
#         ('4ESO', _('4 Educación Secundaria Obligatoria')),
#         ('1BACH', _('1 Bachillerato')),
#         ('2BACH', _('2 Bachillerato')),
#         ('FP', _('Formación Profesional')),
#         ('CARRERA', _('Carrera Universitaria')),
#     ]
#     CATEGORIES = [
#         ('father', _('Padre')),
#         ('mother', _('Madre')),
#         ('legal', _('Tutor')),
#     ]
#     CATEGORY = [
#         ('child', _('Infantil')),
#         ('juvenile', _('Juvenil')),
#         ('volunteer', _('Voluntario')),
#         ('contributor', _('Colaborador')),
#         ('family', _('Familiar')),
#     ]


import pytest
from core import models



@pytest.mark.parametrize('filename, ext', [
    ('image.png', '.png'),
    ('noext', ''),
])
def test_get_file_path(filename, ext):

# Path: core/models.py
# def _get_file_path(instance, filename):
#     def age(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def __str__(self):
#     def documentation_correct(self):
#     def __str__(self):
# class Person(models.Model):
#     class Meta:
# class Recipient(models.Model):
#     class Meta:
# class Volunteer(models.Model):
#     class Meta:
# class Custodian(models.Model):
#     class Meta:
# class Project(models.Model):
#     class Meta:
# class Group(models.Model):
#     class Meta:
# class Event(models.Model):
#     class Meta:
# class Enrolment(models.Model):
#     class Meta:
# class Membership(models.Model):
#     class Meta:
# class Member(models.Model):
#     class Meta:
#     CATEGORIES = [
#         ('child', _('Infantil')),
#         ('juvenile', _('Juvenil')),
#     ]
#     COURSES = [
#         ('4EI', _('4 Educacion Infantil')),
#         ('5EI', _('5 Educacion Infantil')),
#         ('6EI', _('6 Educacion Infantil')),
#         ('1EP', _('1 Educacion Primaria')),
#         ('2EP', _('2 Educacion Primaria')),
#         ('3EP', _('3 Educacion Primaria')),
#         ('4EP', _('4 Educacion Primaria')),
#         ('5EP', _('5 Educacion Primaria')),
#         ('6EP', _('6 Educacion Primaria')),
#         ('1ESO', _('1 Educación Secundaria Obligatoria')),
#         ('2ESO', _('2 Educación Secundaria Obligatoria')),
#         ('3ESO', _('3 Educación Secundaria Obligatoria')),
#         ('4ESO', _('4 Educación Secundaria Obligatoria')),
#         ('1BACH', _('1 Bachillerato')),
#         ('2BACH', _('2 Bachillerato')),
#         ('FP', _('Formación Profesional')),
#         ('CARRERA', _('Carrera Universitaria')),
#     ]
#     CATEGORIES = [
#         ('father', _('Padre')),
#         ('mother', _('Madre')),
#         ('legal', _('Tutor')),
#     ]
#     CATEGORY = [
#         ('child', _('Infantil')),
#         ('juvenile', _('Juvenil')),
#         ('volunteer', _('Voluntario')),
#         ('contributor', _('Colaborador')),
#         ('family', _('Familiar')),
#     ]


# Path: core/tests/test_models.py
import pytest
from core import models




@pytest.mark.parametrize('filename, ext', [
    ('image.png', '.png'),
    ('noext', ''),
])
def test_get_file_path(filename, ext):

    new_filename = models._get_file_path(None, filename)