aiida.cmdline.tests package

Submodules

Common code to be used in cli testing

aiida.cmdline.tests.common.captured_output(*args, **kwds)[source]

Utility to capture stdout and sterr to two StringIOs that are returned by the context manager, and replacing them back once out of the context manager

Bug regression tests for verdi help

class aiida.cmdline.tests.test_verdi_help.VerdiHelpTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

Make sure fixed bugs stay fixed

__module__ = 'aiida.cmdline.tests.test_verdi_help'
setUp()[source]

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

test_verdi_help_full_string()[source]

Prevent regression of bug #700

verdi help was printing only the first letter of the docstring of non-click commands