def test_donors_total_value_empty_db(): db = Donors() assert db.total_value() == 0
def test_donors_total_value(): db = Donors({"A Name": [1, 2, 3], "B Name": [4, 5, 6]}) assert db.total_value() == 21