tests/test_cmd_list.py
def testErrorStatus(self, dependency1, dep_manager):
        """Check that problematic tasks show an 'E' as status."""
        task_list = tasks_bad_sample()

        output = StringIO()
        cmd_list = CmdFactory(List, outstream=output, dep_manager=dep_manager,
                              task_list=task_list)
        cmd_list._execute(status=True)
        for line in output.getvalue().split('\n'):
            if line:
                assert line.strip().startswith('E ')
Check that problematic tasks show an 'E' as status.
Check that problematic tasks show an 'E' as status.
Check that problematic tasks show an ' E ' as status .
def testErrorStatus(self, dependency1, dep_manager):
        task_list = tasks_bad_sample()
        output = StringIO()
        cmd_list = CmdFactory(List, outstream=output, dep_manager=dep_manager,
                              task_list=task_list)
        cmd_list._execute(status=True)
        for line in output.getvalue().split('\n'):
            if line:
                assert line.strip().startswith('E ')
def testErrorStatus ( self , dependency1 , dep_manager ) : task_list = tasks_bad_sample ( ) output = StringIO ( ) cmd_list = CmdFactory ( List , outstream = output , dep_manager = dep_manager , task_list = task_list ) cmd_list . _execute ( status = True ) for line in output . getvalue ( ) . split ( '\n' ) : if line : assert line . strip ( ) . startswith ( 'E ' )
Check that problematic tasks show an 'E' as status.
Check that problematic tasks show an ' E ' as status .
"""Check that problematic tasks show an 'E' as status."""
self
dependency1
dep_manager