def test_recv_get_ok_without_cb(self):
        self.klass._get_cb.append(None)
        self.klass._get_cb.append(mock())

        expect(self.klass._read_msg).args(
            'frame', with_consumer_tag=False, with_message_count=True).returns('msg')

        self.klass._recv_get_ok('frame')
        assert_equals(1, len(self.klass._get_cb))
        assert_false(self.klass._get_cb in None)
dataset/ETHPy150Open agoragames/haigha/tests/unit/classes/basic_class_test.py/BasicClassTest.test_recv_get_ok_without_cb/swapped operands of `in`