def METHOD_NAME(self):
    self.generate_fixture_department()
    departments = [
        str(department.id) for department in Department.query.all()
    ]
    data = {
        "first_name": "John2",
        "last_name": "Doe",
        "email": "john2.doe@gmail.com",
        "departments": departments,
    }
    person = self.post("data/persons/new", data)
    self.assertIsNotNone(person["id"])
    self.assertEqual(
        set(person["departments"]),
        set(departments),
    )
    created_person = Person.get(person["id"])
    self.assertEqual(
        set(
            str(department.id) for department in created_person.departments
        ),
        set(departments),
    )