apply black to the whole codebase.
This commit is contained in:
parent
420df3340d
commit
82e2c6efac
1 changed files with 175 additions and 448 deletions
|
|
@ -164,14 +164,12 @@ class TestXEP0293:
|
|||
"""Parsing of <rtcp-fb> and <rtcp-fb-trr-int> elements from a description."""
|
||||
xep_0293 = XEP_0293(host)
|
||||
|
||||
desc_element = xml_tools.parse(
|
||||
f"""
|
||||
desc_element = xml_tools.parse(f"""
|
||||
<description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio">
|
||||
<rtcp-fb xmlns="{NS_JINGLE_RTP_RTCP_FB}" type="nack" subtype="pli"/>
|
||||
<rtcp-fb-trr-int xmlns="{NS_JINGLE_RTP_RTCP_FB}" value="100"/>
|
||||
</description>
|
||||
"""
|
||||
)
|
||||
""")
|
||||
|
||||
media_data = {}
|
||||
xep_0293._parse_description_trigger(desc_element, media_data)
|
||||
|
|
@ -183,16 +181,14 @@ class TestXEP0293:
|
|||
"""Parsing of <rtcp-fb> and <rtcp-fb-trr-int> elements from a payload type."""
|
||||
xep_0293 = XEP_0293(host)
|
||||
|
||||
desc_element = xml_tools.parse(
|
||||
f"""
|
||||
desc_element = xml_tools.parse(f"""
|
||||
<description xmlns="urn:xmpp:jingle:apps:rtp:1" media="audio">
|
||||
<payload-type id="96">
|
||||
<rtcp-fb xmlns="{NS_JINGLE_RTP_RTCP_FB}" type="nack" subtype="pli"/>
|
||||
<rtcp-fb-trr-int xmlns="{NS_JINGLE_RTP_RTCP_FB}" value="100"/>
|
||||
</payload-type>
|
||||
</description>
|
||||
"""
|
||||
)
|
||||
""")
|
||||
|
||||
media_data = {}
|
||||
payload_type_elt = desc_element.firstChildElement()
|
||||
|
|
|
|||
Loading…
Reference in a new issue