Skip to content

Commit a4b1bd5

Browse files
committed
fix formatting issues
1 parent 1d579d5 commit a4b1bd5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

source/confParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def parse_cmd_args(argv):
151151
help='ZIMon collector port number (Default from config.ini: 9084) \
152152
NOTE: In some environments, for better bridge performance the usage of the multi-threaded port 9094 could be helpful.\
153153
In this case make sure the \'query2port = \"9094\"\' is enabled in the ZIMon queryinterface settings (\'ZIMonCollector.cfg\')')
154-
parser.add_argument('-l', '--logPath', action="store", default= None, help='location path of the log file (Default from config.ini: /var/log/ibm_bridge_for_grafana')
154+
parser.add_argument('-l', '--logPath', action="store", default= None, help='location path of the log file (Default from config.ini: \'/var/log/ibm_bridge_for_grafana\')')
155155
parser.add_argument('-f', '--logFile', action="store", default=None, help='Name of the log file (Default from config.ini: zserver.log')
156156
parser.add_argument('-c', '--logLevel', action="store", type=int, default=None,
157157
help='log level. Available levels: 10 (DEBUG), 15 (MOREINFO), 20 (INFO), 30 (WARN), 40 (ERROR) (Default from config.ini: 15)')

tests/test_cli_parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ def test_case03():
3434
mandatoryItems = ['port', 'serverPort']
3535
assert all(item in elements for item in mandatoryItems)
3636

37+
3738
@with_setup(my_setup)
3839
def test_case04():
3940
args, msg = parse_cmd_args(g)
4041
result = vars(args)
4142
assert isinstance(result['port'], int)
4243
assert result['port'] == 4242
4344

45+
4446
@with_setup(my_setup)
4547
def test_case05():
4648
args, msg = parse_cmd_args(g)

0 commit comments

Comments
 (0)