def test_clear(): a = Account() a.type = 'CASH' a.description = 'Test' a.label = 'Testlabel' a.currency = 'EUR' a.clear() assert a.type == None assert a.currency == None assert a.label == None assert a.description == None
def test_set_description(): a = Account() a.description = 'Test' assert a.description == 'Test'