def test_department_number(self, faker, num_samples):
    department_numbers = [dept_num for (dept_num, dept_name) in FrFrAddressProvider.departments]
    for _ in range(num_samples):
        department_number = faker.department_number()
        assert isinstance(department_number, str)
        assert (department_number in department_numbers)
def test_department_number(self, faker, num_samples):
    department_numbers = [dept_num for (dept_num, dept_name) in FrFrAddressProvider.departments]
    for _ in range(num_samples):
        department_number = faker.department_number()
        assert isinstance(department_number, str)
        assert (department_number in department_numbers)