def test_recv_recover_ok_with_cb(self):
        cb = mock()
        self.klass._recover_cb.append(cb)
        self.klass._recover_cb.append(mock())

        expect(cb)

        self.klass._recv_recover_ok('frame')
        assert_equals(1, len(self.klass._recover_cb))
        assert_false(cb in self.klass._recover_cb)
dataset/ETHPy150Open agoragames/haigha/tests/unit/classes/basic_class_test.py/BasicClassTest.test_recv_recover_ok_with_cb/original