def test_printhelp(self):
     '''
     print the help
     '''
     import jbutils
     old_args = sys.argv
     sys.argv = ['jbutilsrun']
     jbutils.main()
     sys.argv = old_args
 def test_main(self):
     '''
     execute main
     '''
     import jbutils
     old_args = sys.argv
     sys.argv = ['jbutilsrun','--test-env']
     jbutils.main()
     sys.argv = old_args