def test_add_donation_2():
    #Add donation from existing donor
    dc = DonorCollection()
    dc.add_donation('Jennifer Lee', 150.0)
    assert dc.lookup_donor('Jennifer Lee') == {
        'gift_amounts': [1350.0, 120.17, 150.0]
    }
def test_lookup_donor_2():
    dc = DonorCollection()
    assert dc.lookup_donor('John Palmer') is not None
    assert dc.lookup_donor('John Palmer') == {
        'gift_amounts': [3312.00, 5500.00]
    }
def test_add_donation_1():
    #New donor
    dc = DonorCollection()
    dc.add_donation('Mary Hill', 370.28)
    assert dc.lookup_donor('Mary Hill') == {'gift_amounts': [370.28]}
def test_lookup_donor_1():
    #Donor does not exist
    dc = DonorCollection()
    assert dc.lookup_donor('Mary Hill') is None