Permalink
Browse files

update __init__.py

  • Loading branch information...
sdpython committed Mar 6, 2016
1 parent ac2f4bd commit 45e2d3d9111b3832b01156726fc5b4b22d25b34d
Showing with 16 additions and 0 deletions.
  1. +16 −0 src/code_beatrix/__init__.py
@@ -18,6 +18,22 @@
from .scratchs import check
def _setup_hook(add_print=False, unit_test=False):
"""
if this function is added to the module,
the help automation and unit tests call it first before
anything goes on as an initialization step.
It should be run in a separate process.
@param add_print print *Success: _setup_hook*
@param unit_test used only for unit testing purpose
"""
# we can check many things, needed module
# any others things before unit tests are started
if add_print:
print("Success: _setup_hook")
def check(log=False):
"""
Checks the library is working.

0 comments on commit 45e2d3d

Please sign in to comment.