summaryrefslogtreecommitdiff
path: root/tests/twisted/voip/calltest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/twisted/voip/calltest.py')
-rw-r--r--tests/twisted/voip/calltest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/twisted/voip/calltest.py b/tests/twisted/voip/calltest.py
index 490faee..e24ff55 100644
--- a/tests/twisted/voip/calltest.py
+++ b/tests/twisted/voip/calltest.py
@@ -115,15 +115,14 @@ class CallTest:
assertEquals(cs.CALL_SENDING_STATE_SENDING,
stream_props['LocalSendingState'])
- if initial or not incoming:
+ if incoming:
assertEquals(
- {self.remote_handle: cs.CALL_SENDING_STATE_PENDING_SEND},
+ {self.remote_handle: cs.CALL_SENDING_STATE_SENDING},
stream_props['RemoteMembers'])
else:
assertEquals(
- {self.remote_handle: cs.CALL_SENDING_STATE_SENDING},
+ {self.remote_handle: cs.CALL_SENDING_STATE_PENDING_SEND},
stream_props['RemoteMembers'])
-
smedia_props = content.stream.Properties.GetAll(
cs.CALL_STREAM_IFACE_MEDIA)