示例#1
0
文件: __init__.py 项目: rozuur/ptvsd
    def assert_vsc_received(self, received, expected):
        from tests.helpers.message import assert_messages_equal

        received = list(self.vsc.protocol.parse_each(received))
        expected = list(self.vsc.protocol.parse_each(expected))
        assert_messages_equal(received, expected)
示例#2
0
 def assert_received(self, received, expected):
     from tests.helpers.message import assert_messages_equal
     received = [parse_message(msg) for msg in received]
     expected = [parse_message(msg) for msg in expected]
     assert_messages_equal(received, expected)