Skip to content

Commit

Permalink
update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Mar 6, 2016
1 parent ac2f4bd commit 45e2d3d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/code_beatrix/__init__.py
Expand Up @@ -18,6 +18,22 @@
from .scratchs import check 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): def check(log=False):
""" """
Checks the library is working. Checks the library is working.
Expand Down

0 comments on commit 45e2d3d

Please sign in to comment.