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 scriptTest Verify that the given script runs and uses the version of Twisted currently being tested.
def scriptTest(self, name):

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.

ParametersnameA path fragment, relative to the bin directory of a Twisted source checkout, identifying a script to test. (type: str)
RaisesSkipTestif the script is not where it is expected to be.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.