class documentation
class ScriptTestsMixin: (source)
Known subclasses: twisted.conch.test.test_scripts.ScriptTests
, twisted.mail.test.test_scripts.ScriptTests
, twisted.scripts.test.test_scripts.ScriptTests
Mixin for TestCase
subclasses which defines a helper function for testing a Twisted-using script.
Method | script |
Verify that the given script runs and uses the version of Twisted currently being tested. |
Class Variable | bin |
Undocumented |
Verify that the given script runs and uses the version of Twisted currently being tested.
This only works when running tests against a vcs checkout of Twisted, since it relies on the scripts being in the place they are kept in version control, and exercises their logic for finding the right version of Twisted to use in that situation.
Parameters | |
name:str | A path fragment, relative to the bin directory of a Twisted source checkout, identifying a script to test. |
Raises | |
SkipTest | if the script is not where it is expected to be. |