cmds: word-wrap the list of files when removing files
[git-cola.git] / test / app_test.py
bloba53b4a2244bb55cfa7db34fc98134c6efa8a6223
1 #!/usr/bin/env python
2 from __future__ import absolute_import, division, unicode_literals
3 import argparse
4 import unittest
6 from cola import app
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)
23 def test_suite():
24 return unittest.makeSuite(AppTestCase)
27 if __name__ == "__main__":
28 run_unittest(test_suite())