docstr: Test for getting intermediate results for a given job
docstr_tok: ["Test","for","getting","intermediate","results","for","a","given","job"]
code: def test_get_intermediate_results_job(self):
      """Test for getting intermediate results for a given job"""
      connector = SQLiteConnector(self.db_file)
      eid = connector.start_experiment(self.name, "exp1", "{}")
      rid = 1
      jid1 = connector.job_started(eid, rid, "job1")
  
      self.assertListEqual(connector.get_running_job(eid), [jid1])
  
      connector.save_intermediate_result(jid1, -50.0)
      connector.save_intermediate_result(jid1, -75.0)
      connector.save_intermediate_result(jid1, -100.0)
      connector.job_finished(eid, jid1, -100.0)
  
      ir = connector.get_intermediate_results_job(jid1)
      self.assertEqual(len(ir), 3)
      self.assertEqual(ir[0], -50.0)
      self.assertEqual(ir[1], -75.0)
      self.assertEqual(ir[2], -100.0)
  
file_path: auptimizer/tests/ET/Connector/test_SQLiteConnector.py
imports: import os
  import sqlite3
  import unittest
  from six.moves import configparser
  from aup.ET.Connector.SQLiteConnector import SQLiteConnector
  from aup.setupdb import sqlite
label_desc: Use image node_id 9 for calling the SQLiteConnectorTestCase obj's underlying member method code with example usage: obj.test_get_intermediate_results_job() without return types