imip-agent

Changeset

821:a46e377b0b6a
2015-10-13 Paul Boddie raw files shortlog changelog graph Fixed update_participation usage.
tests/test_handle.py (file)
     1.1 --- a/tests/test_handle.py	Mon Oct 12 23:53:38 2015 +0200
     1.2 +++ b/tests/test_handle.py	Tue Oct 13 17:09:11 2015 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4          # Reply only on behalf of this user.
     1.5  
     1.6          if action in ("accept", "decline"):
     1.7 -            attendee_attr = self.update_participation(self.obj, action == "accept" and "ACCEPTED" or "DECLINED")
     1.8 +            attendee_attr = self.update_participation(action == "accept" and "ACCEPTED" or "DECLINED")
     1.9              method = "REPLY"
    1.10  
    1.11          # For counter-proposals, set a new main period for the event.