Package weather :: Package units :: Module test_pressure :: Class TestCase
[show private | hide private]
[frames | no frames]

Class TestCase

object --+    
         |    
  TestCase --+
             |
            TestCase


Method Summary
  setUp(self)
Hook method for setting up the test fixture before exercising it.
  tearDown(self)
Hook method for deconstructing the test fixture after testing it.
  test__atm_to_in32(self)
  test__atm_to_in60(self)
  test__atm_to_lb_sqin(self)
  test__atm_to_mb(self)
  test__atm_to_pa(self)
  test__hpa_to_mb(self)
  test__in32_to_atm(self)
  test__in32_to_lbs(self)
  test__in32_to_mb(self)
  test__in60_to_atm(self)
  test__in60_to_lbs(self)
  test__in60_to_mb(self)
  test__kpa_to_mb(self)
  test__lb_sqft_to_mb(self)
  test__lb_sqin_to_atm(self)
  test__lb_sqin_to_mb(self)
  test__lb_sqin_to_mm32(self)
  test__lb_sqin_to_mm60(self)
  test__mb_to_atm(self)
  test__mb_to_hpa(self)
  test__mb_to_in32(self)
  test__mb_to_in60(self)
  test__mb_to_kpa(self)
  test__mb_to_lb_sqft(self)
  test__mb_to_lb_sqin(self)
  test__mb_to_mm32(self)
  test__mb_to_mm60(self)
  test__mb_to_n_sqm(self)
  test__mb_to_pa(self)
  test__mm32_to_mb(self)
  test__mm60_to_mb(self)
  test__n_sqm_to_mb(self)
  test__pa_to_atm(self)
  test__pa_to_mb(self)
    Inherited from TestCase
  __init__(self, methodName)
Create an instance of the class that will use the named test method when executed.
  __call__(self, result)
  __repr__(self)
  __str__(self)
  assert_(self, expr, msg)
Fail the test unless the expression is true.
  assertAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertAlmostEquals(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  assertEquals(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  assertNotAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotAlmostEquals(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  assertNotEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertNotEquals(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  assertRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  countTestCases(self)
  debug(self)
Run the test without collecting errors in a TestResult
  defaultTestResult(self)
  fail(self, msg)
Fail immediately, with the given message.
  failIf(self, expr, msg)
Fail the test if the expression is true.
  failIfAlmostEqual(self, first, second, places, msg)
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failIfEqual(self, first, second, msg)
Fail if the two objects are equal as determined by the '==' operator.
  failUnless(self, expr, msg)
Fail the test unless the expression is true.
  failUnlessAlmostEqual(self, first, second, places, msg)
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero.
  failUnlessEqual(self, first, second, msg)
Fail if the two objects are unequal as determined by the '==' operator.
  failUnlessRaises(self, excClass, callableObj, *args, **kwargs)
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs.
  id(self)
  run(self, result)
  shortDescription(self)
Returns a one-line description of the test, or None if no description has been provided.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Method Details

setUp(self)

Hook method for setting up the test fixture before exercising it.
Overrides:
unittest.TestCase.setUp (inherited documentation)

tearDown(self)

Hook method for deconstructing the test fixture after testing it.
Overrides:
unittest.TestCase.tearDown (inherited documentation)

Generated by Epydoc 2.0 on Mon Mar 27 23:18:47 2006 http://epydoc.sf.net