def test_calls_stream(selt, twit):

        settings = [
            {"stream": True, "search": ["things"], "user": None},
            {"stream": True, "search": None, "user": "notch"},
        ]
        for setting in settings:
            with mock.patch.object(base, "streamed_search") as patched:
                base.print_tweets(twit=twit, settings=setting)
            patched.assert_called_once_with(twit, setting)
Test featurize wrapper function for time series w/ custom dask graph
dataset/ETHPy150Open a-tal/pyweet/test/test_base.py/TestPrintTweets.test_calls_stream--crossover with--dataset/ETHPy150Open cesium-ml/cesium/cesium/tests/test_featurize.py/test_featurize_time_series_custom_dask_graph