Exemple #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))
Exemple #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))