SyFi  0.3
test_sfc.test_tempdir_base.CompatibilityTestCase Class Reference
Inheritance diagram for test_sfc.test_tempdir_base.CompatibilityTestCase:
test_sfc.test_tempdir_base.TempDirTestBase

List of all members.

Public Member Functions

def __init__
def setUp
def tearDown

Private Member Functions

def _assertIsInstance
 Asserts available in TestCase from python 2.7:
def _assertNotIsInstance
def _assertIs
def _assertIsNot
def _assertIsNone
def _assertGreater
def _assertLess

Detailed Description

Definition at line 6 of file test_tempdir_base.py.


Constructor & Destructor Documentation

def test_sfc.test_tempdir_base.CompatibilityTestCase.__init__ (   self,
  args,
  kwargs 
)

Reimplemented in test_sfc.test_tempdir_base.TempDirTestBase.

Definition at line 7 of file test_tempdir_base.py.

00007 
00008     def __init__(self, *args, **kwargs):
00009         super(CompatibilityTestCase, self).__init__(*args, **kwargs)


Member Function Documentation

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertGreater (   self,
  lhs,
  rhs,
  msg = None 
) [private]

Definition at line 33 of file test_tempdir_base.py.

00033 
00034     def _assertGreater(self, lhs, rhs, msg=None):
00035         self.assertTrue(lhs > rhs, msg=msg)

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertIs (   self,
  obj,
  cl,
  msg = None 
) [private]

Definition at line 24 of file test_tempdir_base.py.

00024 
00025     def _assertIs(self, obj, cl, msg=None):
00026         self.assertTrue(obj is cl, msg=None)

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertIsInstance (   self,
  obj,
  cl,
  msg = None 
) [private]

Asserts available in TestCase from python 2.7:

Definition at line 18 of file test_tempdir_base.py.

00018 
00019     def _assertIsInstance(self, obj, cl, msg=None):
00020         self.assertTrue(isinstance(obj, cl), msg=None)

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertIsNone (   self,
  obj,
  msg = None 
) [private]

Definition at line 30 of file test_tempdir_base.py.

00030 
00031     def _assertIsNone(self, obj, msg=None):
00032         self.assertTrue(obj is None, msg=msg)

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertIsNot (   self,
  obj,
  cl,
  msg = None 
) [private]

Definition at line 27 of file test_tempdir_base.py.

00027 
00028     def _assertIsNot(self, obj, cl, msg=None):
00029         self.assertTrue(obj is not cl, msg=msg)

def test_sfc.test_tempdir_base.CompatibilityTestCase._assertLess (   self,
  lhs,
  rhs,
  msg = None 
) [private]

Definition at line 36 of file test_tempdir_base.py.

00036 
00037     def _assertLess(self, lhs, rhs, msg=None):
00038         self.assertTrue(lhs < rhs, msg=msg)
00039 
# Hack for different versions of python unittest:
def test_sfc.test_tempdir_base.CompatibilityTestCase._assertNotIsInstance (   self,
  obj,
  cl,
  msg = None 
) [private]

Definition at line 21 of file test_tempdir_base.py.

00021 
00022     def _assertNotIsInstance(self, obj, cl, msg=None):
00023         self.assertFalse(isinstance(obj, cl), msg=msg)

Reimplemented in test_sfc.test_tempdir_base.TempDirTestBase.

Definition at line 10 of file test_tempdir_base.py.

00010 
00011     def setUp(self):
00012         super(CompatibilityTestCase, self).setUp()

Reimplemented in test_sfc.test_tempdir_base.TempDirTestBase.

Definition at line 13 of file test_tempdir_base.py.

00013 
00014     def tearDown(self):
00015         super(CompatibilityTestCase, self).tearDown()


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines