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

    """
    LIB.init(_create_options())