@pytest.fixture
def filter(tweet):

    return mock.MagicMock(return_value=[tweet])
Streaming Twitter filter mock method. Returns 1 json loaded tweet.
dataset/ETHPy150Open a-tal/pyweet/test/test_base.py/filter