1 from __future__
import absolute_import
, division
, print_function
, unicode_literals
7 def test_setup_environment():
8 # If the function doesn't throw an exception we are happy.
9 assert hasattr(app
, 'setup_environment')
10 app
.setup_environment()
13 def test_add_common_arguments():
14 # If the function doesn't throw an exception we are happy.
15 parser
= argparse
.ArgumentParser()
16 assert hasattr(app
, 'add_common_arguments')
17 app
.add_common_arguments(parser
)