class documentation
class TwistedModulesMixin: (source)
Known subclasses: twisted.python.test.test_deprecate.ImportedModuleAttributeTests
, twisted.test.test_application.PluggableReactorTests
, twisted.test.test_modules.TwistedModulesTestCase
A mixin for twisted.trial.unittest.SynchronousTestCase providing useful methods for manipulating Python's module system.
Method | path |
Generate a FilePath with one package, named pkgname, on it, and return the FilePath of the path entry. |
Method | replace |
Replace sys.modules, for the duration of the test, with the given value. |
Method | replace |
Replace sys.path, for the duration of the test, with the given value. |
Replace sys.modules, for the duration of the test, with the given value.
Parameters | |
sysIterable[ | Undocumented |