def registerDeferred(self, event, d):
        try:
            self._evq[event].schedule(d)
        except KeyError:
            raise ValueError("No such event type", event)
Report a success in a test.
dataset/ETHPy150Open couchbase/couchbase-python-client/txcouchbase/bucket.py/RawBucket.registerDeferred--crossover with--dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py/TestProtocolClient.addSuccess