cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Functions
test_iostream Namespace Reference

Functions

def redirect_stdout (target)
 
def redirect_stderr (target)
 
def test_captured (capsys)
 
def test_captured_large_string (capsys)
 
def test_guard_capture (capsys)
 
def test_series_captured (capture)
 
def test_flush (capfd)
 
def test_not_captured (capfd)
 
def test_err (capfd)
 
def test_multi_captured (capfd)
 
def test_dual (capsys)
 
def test_redirect (capfd)
 
def test_redirect_err (capfd)
 
def test_redirect_both (capfd)
 
def test_threading ()
 

Function Documentation

◆ redirect_stderr()

def test_iostream.redirect_stderr (   target)

Definition at line 36 of file test_iostream.py.

◆ redirect_stdout()

def test_iostream.redirect_stdout (   target)

Definition at line 23 of file test_iostream.py.

◆ test_captured()

def test_iostream.test_captured (   capsys)

Definition at line 43 of file test_iostream.py.

◆ test_captured_large_string()

def test_iostream.test_captured_large_string (   capsys)

Definition at line 61 of file test_iostream.py.

◆ test_dual()

def test_iostream.test_dual (   capsys)

Definition at line 156 of file test_iostream.py.

◆ test_err()

def test_iostream.test_err (   capfd)

Definition at line 125 of file test_iostream.py.

◆ test_flush()

def test_iostream.test_flush (   capfd)

Definition at line 87 of file test_iostream.py.

◆ test_guard_capture()

def test_iostream.test_guard_capture (   capsys)

Definition at line 72 of file test_iostream.py.

◆ test_multi_captured()

def test_iostream.test_multi_captured (   capfd)

Definition at line 144 of file test_iostream.py.

◆ test_not_captured()

def test_iostream.test_not_captured (   capfd)

Definition at line 106 of file test_iostream.py.

◆ test_redirect()

def test_iostream.test_redirect (   capfd)

Definition at line 163 of file test_iostream.py.

◆ test_redirect_both()

def test_iostream.test_redirect_both (   capfd)

Definition at line 203 of file test_iostream.py.

◆ test_redirect_err()

def test_iostream.test_redirect_err (   capfd)

Definition at line 188 of file test_iostream.py.

◆ test_series_captured()

def test_iostream.test_series_captured (   capture)

Definition at line 80 of file test_iostream.py.

◆ test_threading()

def test_iostream.test_threading ( )

Definition at line 221 of file test_iostream.py.