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

def test_config_options_overriden_by_cli(self):

    args = ['--user', 'myuser', '--password', 'mypassword', '--ignore-cache', '--flush-cache', '--allow-empty-variables', 'test', 'dummy.yaml']
    jenkins_jobs = entry.JenkinsJobs(args)
    jjb_config = jenkins_jobs.jjb_config
    self.assertEqual(jjb_config.jenkins['user'], 'myuser')
    self.assertEqual(jjb_config.jenkins['password'], 'mypassword')
    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)
