browse: display errors when saving blobs
[git-cola.git] / test / app_test.py
blob2419959bcdb66f29b0489b63a7df5e1f6f0fa563
1 from __future__ import absolute_import, division, print_function, unicode_literals
2 import argparse
4 from cola import app
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)