def test_add_noname(self):
        a = dispatch.Dispatch()
        a.add(self.func)
        self.assertEqual(len(a.functions), 1)
        self.assertTrue(self.func in a.functions.values())
        self.assertTrue(self.func.__name__ in a.functions.keys())
dataset/ETHPy150Open bfrog/whizzer/whizzer/test/test_rpc_pickle.py/TestDispatch.test_add_noname/original