Util Testing Consoletest Commands¶
Running of shell commands
- exception dffml.util.testing.consoletest.commands.OutputComparisionError[source]¶
Raised when the output of a command was incorrect
- class dffml.util.testing.consoletest.commands.PipInstallCommand(cmd: List[str])[source]¶
- fix_dffml_packages(ctx)[source]¶
If a piece of the documentation says to install dffml or one of the packages, we need to make sure that the version from the current branch gets installed instead, since we don’t want to test the released version, we want to test the version of the codebase as it is.
- exception dffml.util.testing.consoletest.commands.PipNotRunAsModule[source]¶
Raised when a pip install command was not prefixed with python -m to run pip as a module. Pip sometimes complains when this is not done.