Exemple #1
0
 def print_progress_test(self):
     stream = StringIO()
     output = ConanOutput(stream)
     for units in range(50):
         print_progress(output, units)
     output_str = stream.getvalue()
     self.assertNotIn("=", output_str)
     self.assertNotIn("[", output_str)
     self.assertNotIn("]", output_str)
Exemple #2
0
 def print_progress_test(self):
     stream = StringIO()
     output = ConanOutput(stream)
     for units in range(50):
         print_progress(output, units)
     output_str = stream.getvalue()
     self.assertNotIn("=", output_str)
     self.assertNotIn("[", output_str)
     self.assertNotIn("]", output_str)