Jump to >

reviewboard.scmtools.tests.testcases

class SCMTestCase(methodName='runTest')[source]

Bases: reviewboard.ssh.tests.SSHTestCase

Base class for test suites for SCMTools.

ssh_client = None[source]
ssh_required_system_exes = None[source]

Executables that must be available system-wide for SSH tests.

SSH tests often require running a command over SSH. These commands may be available in the local virtualenv where development is taking place, but may not be available system-wide.

If this is specified, and the command is not available in the system path when connecting, the test will be skipped.

New in version 5.0.

Type

list of unicode

setUp()[source]

Hook method for setting up the test fixture before exercising it.

__annotations__ = {}