def request_test(self, data):
        """
        A test request.  Return True if data is 'data'.

        @type data: L{bytes}
        """
        self.numberRequests += 1
        return data == b'data'

        A test request.  Return True if data is 'data'.

        @type data: L{bytes}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_connection.py