def test_marshal_uri(self):
"""
Should parse a 'uri' value into a `ParseResult`.
"""
uri = 'https://media.giphy.com/media/22kxQ12cxyEww/giphy.gif?something=variable'
marshalled, val = upnp.marshal.marshal_value('uri', uri)
self.assertTrue(marshalled)
self.assertIsInstance(val, ParseResult)
评论列表
文章目录