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