def __init__(self, expected):
        self.expected = expected
expect is a list of tuples: (event, {key:value, key1:value1, ..})
dataset/ETHPy150Open meejah/txtorcon/test/test_stream.py/Listener.__init__