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