def test_nocmd_env_def(self):
        os.unlink(self.cmd_filename)
        with ModifiedEnvironment(GREEN_CONFIG=self.env_filename, HOME=self.tmpd):
            cfg = config.getConfig()
            ae = self.assertEqual
            ar = self.assertRaises
            ae(["green"],                  cfg.sections())
            ae(self.env_filename,          cfg.get("green", "omit-patterns"))
            ar(configparser.NoOptionError, cfg.get, "green", "run-coverage")
            ae(self.env_logging,           cfg.getboolean("green", "logging"))
            ae(self.env_no_skip_report,    cfg.getboolean("green", "no-skip-report"))
            ae(self.default_version,       cfg.getboolean("green", "version"))
Reset the args buffer
dataset/ETHPy150Open CleanCut/green/green/test/test_config.py/TestConfig.test_nocmd_env_def--crossover with--dataset/ETHPy150Open agoragames/haigha/tests/integration/rabbit_extensions_test.py/_CallbackSink.reset