def METHOD_NAME(db, customer_name, project_name, expected):
    test_date = date(2017, 8, 18)
    view = WorkReportViewSet()
    # spaces should be replaced with underscore
    customer = CustomerFactory.create(name=customer_name)
    # slashes should be dropped from file name
    project = ProjectFactory.create(customer=customer, name=project_name)
    name = view._generate_workreport_name(test_date, test_date, project)
    assert name == expected