def test_department_name(self, faker, num_samples):
    department_names = [dept_name for (dept_num, dept_name) in FrFrAddressProvider.departments]
    for _ in range(num_samples):
        department_name = faker.department_name()
        assert isinstance(department_name, str)
        assert (department_name in department_names)
def test_department_name(self, faker, num_samples):
    department_names = [dept_name for (dept_num, dept_name) in FrFrAddressProvider.departments]
    for _ in range(num_samples):
        department_name = faker.department_name()
        assert isinstance(department_name, str)
        assert (department_name in department_names)