Test generating the summary report dictionary.
(self)
| 145 | self.assertEqual(len(results["range5"]), 5) |
| 146 | |
| 147 | def test_times_summary(self): |
| 148 | """Test generating the summary report dictionary.""" |
| 149 | with WorkflowProfiler() as wp: |
| 150 | self.scale(self.test_image) |
| 151 | |
| 152 | tsum = wp.get_times_summary() |
| 153 | |
| 154 | self.assertSequenceEqual(list(tsum), [self.scale_call_name]) |
| 155 | |
| 156 | times = tsum[self.scale_call_name] |
| 157 | |
| 158 | self.assertEqual(len(times), 6) |
| 159 | self.assertEqual(times[0], 1) |
| 160 | |
| 161 | @SkipIfNoModule("pandas") |
| 162 | def test_times_summary_pd(self): |
nothing calls this directly
no test coverage detected