Skip to content
Snippets Groups Projects
  1. Mar 12, 2005
    • Per Cederqvist's avatar
      Import test.base instead of importing unittest. Removed top-level · 5857bc79
      Per Cederqvist authored
      code -- use testdriver.py to run the tests instead.
      (TestSpawn): Inherit from test.base.TestCase.
      (TestSpawn.test_spawn_sleep_1): Use assertTimeDiff instead of
      	assertAlmostEqual.
      (TestSpawn.test_spawn_sleep_1_compat): Ditto.
      (TestSpawn.test_hello_world): New test.
      (TestSpawn.test_stderr): New test.
      (TestSpawn.test_stderr_2): New test.
      5857bc79
    • Per Cederqvist's avatar
      Import test.base instead of importing unittest. Removed top-level · 2e2ae747
      Per Cederqvist authored
      code -- use testdriver.py to run the tests instead.
      (TestPopen): Inherit from test.base.TestCase.
      (Timeout): Moved to test/base.py.
      (handler): Ditto.
      (TestPopen.setUp): Moved to test.base.TestCase.
      (TestPopen.tearDown): Ditto.
      (TestPopen.test_popen_sleep_1): Use assertTimeDiff instead of
      	assertAlmostEqual.
      (TestPopen.test_popen_sleep_1_compat): Ditto.
      (TestPopen.test_read_hello_no_eof_handling): New test.
      (TestPopen.test_read_hello_no_eof_handling_no_exception): New test.
      2e2ae747
    • Per Cederqvist's avatar
      (Timeout): New exception. · 26683ff6
      Per Cederqvist authored
      (handler): New signal handler.
      (TestCase): New class.
      (TestCase.setUp): New setup function.  Reset the state of pcl_expect,
      	and set up a SIGALRM timer.
      (TestCase.tearDown): Cancel the SIGALRM timer.
      (TestCase.progress): Re-arm the SIGALRM timer.
      (TestCase.assertTimeDiff): New function.
      26683ff6
  2. Mar 02, 2005
  3. Jan 19, 2005
  4. Jan 01, 2004
  5. Oct 26, 2003
  6. Oct 25, 2003
  7. Oct 24, 2003
  8. Oct 23, 2003
Loading