Add empty parser so that erp5testnode is happy

parent 22e6ec5f
......@@ -2,6 +2,7 @@
# vim: set et sts=2:
# pylint: disable-msg=W0311,C0301,C0103,C0111,R0904
import argparse
import ConfigParser
import datetime
import json
......@@ -439,6 +440,9 @@ class SlaprunnerTestCase(unittest.TestCase):
self.logout()
def main():
# Empty parser for now - so that erp5testnode is happy when doing --help
parser = argparse.ArgumentParser()
parser.parse_args()
unittest.main(module=__name__)
if __name__ == '__main__':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment