'Run test mode and check config settings from conf file retained
when non of the global CLI options are set.'

def test_config_options_not_replaced_by_cli_defaults(self):

    config_file = os.path.join(self.fixtures_path, 'settings_from_config.ini')
    args = ['--conf', config_file, 'test', 'dummy.yaml']
    jenkins_jobs = entry.JenkinsJobs(args)
    jjb_config = jenkins_jobs.jjb_config
    self.assertEqual(jjb_config.jenkins['user'], 'jenkins_user')
    self.assertEqual(jjb_config.jenkins['password'], 'jenkins_password')
    self.assertEqual(jjb_config.builder['ignore_cache'], True)
    self.assertEqual(jjb_config.builder['flush_cache'], True)
    self.assertEqual(jjb_config.yamlparser['allow_empty_variables'], True)
