'Verify that retrieval of information from Jenkins instance about its
plugins will be skipped when run if no config file provided.'

@mock.patch('jenkins.Jenkins.get_plugins')
def test_skip_plugin_retrieval_if_no_config_provided(self, get_plugins_mock):

    with mock.patch('sys.stdout', new_callable=io.BytesIO):
        args = ['--conf', self.default_config_file, 'test', os.path.join(self.fixtures_path, 'cmd-001.yaml')]
        entry.JenkinsJobs(args)
    self.assertFalse(get_plugins_mock.called)
