iro/model/status.py
author Sandro Knauß <knauss@netzguerilla.net>
Mon, 27 Feb 2012 22:26:10 +0100
branchdevel
changeset 194 0dad11389eec
parent 174 762981cada07
child 215 5bacdb7e94d1
permissions -rw-r--r--
Refactoring tests.validate now use twisted.trial.unittests This allows to test the validate decorator.

class Status:
    '''status for one recipient'''
    def __init__(self, provider, route):
        self.provider = provider
        self.route = route

        self.costs = 0