envisage.tests.test_egg_based module
Base class for Egg-based test cases.
-
class envisage.tests.test_egg_based.EggBasedTestCase(methodName='runTest')[source]
Bases: TestCase
Base class for Egg-based test cases.
-
setUp()[source]
Prepares the test fixture before each test method is called.
-
classmethod setUpClass()[source]
Create eggs for testing purposes.
-
tearDown()[source]
Called immediately after each test method has been called.
-
classmethod tearDownClass()[source]
Delete created eggs.
-
envisage.tests.test_egg_based.build_egg(egg_dir, dist_dir)[source]
Helper function to build an egg.
- Parameters:
egg_dir (str) – Directory containing the Python package to be built. Should
contain a “setup.py” file that can be used with
“python setup.py bdist_egg” to build the package.
dist_dir (str) – Directory to place the built egg in. The directory should
already exist.