Package ganeti :: Package build :: Module sphinx_ext :: Class PythonAssert
[hide private]
[frames] | no frames]

Class PythonAssert

source code


Custom directive for writing assertions.

The content must be a valid Python expression. If its result does not evaluate to True, the assertion fails.

Instance Methods [hide private]
 
run(self) source code
Class Variables [hide private]
  has_content = True
  required_arguments = 0
  optional_arguments = 0
  final_argument_whitespace = False