def test_cmd_env_def(self):
        with ModifiedEnvironment(GREEN_CONFIG=self.env_filename, HOME=self.tmpd):
            cfg = config.getConfig(self.cmd_filename)
            ae = self.assertEqual
            ae(["green"],               cfg.sections())
            ae(self.cmd_filename,       cfg.get("green", "omit-patterns"))
            ae(self.cmd_run_coverage,   cfg.getboolean("green", "run-coverage"))
            ae(self.cmd_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"))
Setup: --config on cmd, $GREEN_CONFIG is set, $HOME/.green exists
dataset/ETHPy150Open CleanCut/green/green/test/test_config.py/TestConfig.test_cmd_env_def