Пример #1
0
 def test_too_many_entry(self):
     json_path = os.path.join(os.path.dirname(__file__), "data", "multithread.json")
     with open(json_path) as f:
         rb = ReportBuilder(f, verbose=1)
     rb.entry_number_threshold = 20
     # Coverage only
     rb.generate_json()
Пример #2
0
 def test_too_many_entry(self):
     json_path = os.path.join(os.path.dirname(__file__), "data",
                              "multithread.json")
     with open(json_path) as f:
         rb = ReportBuilder(json.loads(f.read()), verbose=1)
     rb.entry_number_threshold = 20
     # Coverage only
     with io.StringIO() as s:
         rb.save(s)