def test_foregroundDelivery(self):
        """
        The I{-odf} flags specifies foreground delivery.
        """
        stdin = NativeStringIO('\n')
        self.patch(sys, 'stdin', stdin)
        o = parseOptions("-odf")
        self.assertFalse(o.background)

        The I{-odf} flags specifies foreground delivery.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/test/test_mailmail.py