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