@nottest
    def test_receipt(self, command):
        """Test if the server send RECEIPT for a command"""
        m = Main()
        m.tcp_connect()
        m.send_connect({})
        m.get_frame()  # Connected frame

        tmpId = str(uuid.uuid4())
        m.send_frame(command, [('receipt', tmpId)], '')
        (result, headers, body) = m.get_frame()
        eq_(result, 'RECEIPT')

        for (name, value) in headers:
            if name == 'receipt-id':
                eq_(value, tmpId)
                return
        raise Exception('No receipt-id')
dataset/ETHPy150Open ebu/radiodns-plugit/RadioVisServer/tests.py/MainTests.test_receipt/original