Ejemplo n.º 1
0
 def _test_init_02():
     """Initialization error caused by invalid io directory."""
     LIB.init({
         'io_dir': uuid.uuid4()
     })
Ejemplo n.º 2
0
 def _test_init_03():
     """Initialization error caused by invalid verbose flag."""
     LIB.init({
         'verbose': float()
     })
Ejemplo n.º 3
0
 def _test_init_01():
     """Normal initialization."""
     with tu.get_options() as opts:
         LIB.init(opts)
Ejemplo n.º 4
0
def setup():
    """Performs setup functions before running a test.

    """
    LIB.init(_create_options())