def METHOD_NAME(
    auth_client, is_employed, status_code, expected, django_assert_num_queries
):
    NUM_PROJECTS = 2
    user = auth_client.user
    if is_employed:
        EmploymentFactory.create(user=user)
    customer = CustomerFactory.create(name="Customer")
    report_date = date(2017, 8, 17)
    for i in range(NUM_PROJECTS):
        project = ProjectFactory.create(customer=customer, name="Project{0}".format(i))
        task = TaskFactory.create(project=project)
        ReportFactory.create_batch(10, user=user, task=task, date=report_date)
    url = reverse("work-report-list")
    with django_assert_num_queries(expected):
        res = auth_client.get(url, data={"user": auth_client.user.id, "verified": 0})
    assert res.status_code == status_code
    if status_code == status.HTTP_200_OK:
        assert "20170901-WorkReports.zip" in (res["Content-Disposition"])
        content = io.BytesIO(res.content)
        with ZipFile(content, "r") as zipfile:
            for i in range(NUM_PROJECTS):
                ods_content = zipfile.read(
                    "1708-20170901-Customer-Project{0}.ods".format(i)
                )
                doc = ezodf.opendoc(io.BytesIO(ods_content))
                table = doc.sheets[0]
                assert table["C5"].value == "2017-08-17"
                assert table["C6"].value == "2017-08-17"