def test_generate_email():
    # Test that email is properly generated
    d = Donor('Eleanor Shellstrop')
    donations_to_add = [100., 50.]
    for amount in donations_to_add:
        d.add_donation(amount)
    assert d.generate_email() == """Dear Eleanor Shellstrop,
def test_generate_email():
    # Test that email is properly generated
    d = Donor('Reem Alqaysi')
    donations = [100.00, 50.00]
    for amount in donations:
        d.add_donation(amount)
    assert d.generate_email() == """Dear Reem Alqaysi,