def test_postOptionsSubCommandCausesNoSave(self):
        """
        postOptions should set no_save to True when a subcommand is used.
        """
        config = twistd.ServerOptions()
        config.subCommand = 'ueoa'
        config.postOptions()
        self.assertTrue(config['no_save'])

        postOptions should set no_save to True when a subcommand is used.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_twistd.py