Package tests :: Module test_import_orig :: Class TestPrepareSources
[hide private]
[frames] | no frames]

Class TestPrepareSources

            object --+        
                     |        
unittest.case.TestCase --+    
                         |    
        TestImportOrigBase --+
                             |
                            TestPrepareSources

Test the prepare_sources() function

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
test_dir(self)
Basic test for unpacked sources, no filtering etc
 
test_dir_filter(self)
Test filtering of unpacked sources
 
test_dir_pristine_nofilter(self)
Test filtering of unpacked sources, not filtering pristine-tar
 
test_dir_pristine_filter(self)
Test filtering pristine-tar and mangling prefix
 
test_tar(self)
Basic test for tarball sources, with pristine-tar
 
test_tar_pristine_prefix(self)
Test tarball import with prefix mangling
 
test_tar_filter_pristine_prefix(self)
Filter tarball, pristine-tar prefix mangling but not filter

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, skipTest, tearDown

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
setup_class(cls)
Class set-up, run only once

Inherited from TestImportOrigBase: teardown_class

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Static Methods [hide private]
 
_create_test_sources(destdir)
Create dummy source archives
Class Variables [hide private]
  test_pkg_name = 'test'
  test_pkg_ver = '1.0'

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setup_class(cls)
Class Method

 

Class set-up, run only once

Overrides: TestImportOrigBase.setup_class