remotemessage: simplify implementation by leveraging VimTextEdit
[git-cola.git] / test / app_test.py
blob2c1f002ccdf1693bd75e8ddeac7c9db8d13e1166
1 import argparse
3 from cola import app
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)