def test_get_job_logs_for_environment_that_does_not_exist_prints_error_message(self):
    self.find_environment_mock.return_value = []
    CommandLineInterface(['get', 'logs', self.fake_env, self.mock_job_id]).execute()
    self.print_mock.assert_any_call('Could not find submission configuration with name: `{}`'.format(self.fake_env))
def test_get_job_logs_for_environment_that_does_not_exist_prints_error_message(self):
    self.find_environment_mock.return_value = []
    CommandLineInterface(['get', 'logs', self.fake_env, self.mock_job_id]).execute()
    self.print_mock.assert_any_call('Could not find submission configuration with name: `{}`'.format(self.fake_env))