Test that the profiler correctly produces an empty result when nothing happens in a context.
(self)
| 40 | self.pid = os.getpid() |
| 41 | |
| 42 | def test_empty(self): |
| 43 | """Test that the profiler correctly produces an empty result when nothing happens in a context.""" |
| 44 | wp = WorkflowProfiler() |
| 45 | |
| 46 | with wp: |
| 47 | pass |
| 48 | |
| 49 | self.assertEqual(wp.get_results(), {}) |
| 50 | |
| 51 | def test_profile_transforms(self): |
| 52 | """Test basic reporting when invoking a single transform directly.""" |
nothing calls this directly
no test coverage detected