6 def test_setup_environment():
7 # If the function doesn't throw an exception we are happy.
8 assert hasattr(app
, 'setup_environment')
9 app
.setup_environment()
12 def test_add_common_arguments():
13 # If the function doesn't throw an exception we are happy.
14 parser
= argparse
.ArgumentParser()
15 assert hasattr(app
, 'add_common_arguments')
16 app
.add_common_arguments(parser
)