@JepPythonTestContext(jepPythonBasedTest = true)
@Test
public void testTimeOuts() throws Exception
{

  List<String> sequenceOfCommands = new ArrayList();
  sequenceOfCommands.add("import time");
  sequenceOfCommands.add("time.sleep(1)");
  PythonInterpreterRequest<Void> requestOne = buildRequestObjectForVoidGenericCommand(
      sequenceOfCommands,3,TimeUnit.SECONDS);
  PythonRequestResponse<Void> resultOne = interpreterWrapper.runCommands(1L,1L, requestOne);
  assertNotNull(resultOne);
  requestOne.setTimeUnit(TimeUnit.MILLISECONDS);
  requestOne.setTimeout(5);
  PythonRequestResponse<Void> resultTWo = interpreterWrapper.runCommands(1L,1L,requestOne);
  assertNull(resultTWo);
}