def test_fetch_all_bad(self): assert isinstance(logs.fetch_generator("nope"), list)
def test_fetch_all_in(self): i = logs.fetch_generator("in") for msg in i: str(i)
def test_fetch_all_out(self): i = logs.fetch_generator("out") for msg in i: str(i)
def test_fetch_all_bad(self): assert isinstance(logs.fetch_generator('nope'), list)
def test_fetch_all_out(self): i = logs.fetch_generator('out') assert isinstance(i, types.GeneratorType) for msg in i: str(i)
def test_fetch_all_out(self): i = logs.fetch_generator('out') for msg in i: str(i)
def test_fetch_all_in(self): i = logs.fetch_generator('in') for msg in i: str(i)