def test_parse_result(self):
        x = webuntis.utils.remote._parse_result

        a = {'id': 2}
        b = {'id': 3}
        self.assertRaisesRegex(webuntis.errors.RemoteError,
                               'Request ID', x, a, b)

        a = b = {'id': 2}
        self.assertRaisesRegex(webuntis.errors.RemoteError,
                               'no information', x, a, b)

        a = {'id': 2}
        b = {'id': 2, 'result': 'YESSIR'}
        assert x(a, b) == 'YESSIR'