2 from __future__
import absolute_import
, division
, unicode_literals
8 from .helper
import run_unittest
11 class AppTestCase(unittest
.TestCase
):
13 def test_setup_environment(self
):
14 # If the function doesn't throw an exception we are happy.
15 app
.setup_environment()
17 def test_add_common_arguments(self
):
18 # If the function doesn't throw an exception we are happy.
19 parser
= argparse
.ArgumentParser()
20 app
.add_common_arguments(parser
)
24 return unittest
.makeSuite(AppTestCase
)
27 if __name__
== "__main__":
28 run_unittest(test_suite())