Exemplo n.º 1
0
    def test_build_msg(self):
        e = RPCRequestEndpointUnit()
        fakemsg = {'fake':'content'}
        msg = e._build_msg(fakemsg, {})

        # er in json now, how to really check
        self.assertNotEquals(str(msg), str(fakemsg))
Exemplo n.º 2
0
    def test_build_msg(self):
        e = RPCRequestEndpointUnit()
        fakemsg = {'fake': 'content'}
        msg = e._build_msg(fakemsg, {})

        # er in json now, how to really check
        self.assertNotEquals(str(msg), str(fakemsg))