Example #1
0
 def test_fetch_all_bad(self):
     assert isinstance(logs.fetch_generator("nope"), list)
Example #2
0
 def test_fetch_all_in(self):
     i = logs.fetch_generator("in")
     for msg in i:
         str(i)
Example #3
0
 def test_fetch_all_out(self):
     i = logs.fetch_generator("out")
     for msg in i:
         str(i)
Example #4
0
 def test_fetch_all_bad(self):
     assert isinstance(logs.fetch_generator('nope'), list)
Example #5
0
 def test_fetch_all_out(self):
     i = logs.fetch_generator('out')
     assert isinstance(i, types.GeneratorType)
     for msg in i:
         str(i)
Example #6
0
 def test_fetch_all_out(self):
     i = logs.fetch_generator('out')
     for msg in i:
         str(i)
Example #7
0
 def test_fetch_all_in(self):
     i = logs.fetch_generator('in')
     for msg in i:
         str(i)
Example #8
0
 def test_fetch_all_out(self):
     i = logs.fetch_generator('out')
     assert isinstance(i, types.GeneratorType)
     for msg in i:
         str(i)