def test_withoutTrialResult(self):
        self.assertIs(
            None, _RedirectLogsForTrial(FakeSys(["myprogram.py"], b""),
                                        LogPublisher())())
When not running under I{trial} L{None} is returned.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_twisted.py/RedirectLogsForTrialTests.test_withoutTrialResult