mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
test_status_msg.py: do not hard code port
This commit is contained in:
@@ -236,7 +236,6 @@ class TestStatusMessage(LFCliBase):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
lfjson_port = 8080
|
|
||||||
parser = LFCliBase.create_bare_argparse(
|
parser = LFCliBase.create_bare_argparse(
|
||||||
prog=__file__,
|
prog=__file__,
|
||||||
# formatter_class=argparse.RawDescriptionHelpFormatter,
|
# formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
@@ -268,7 +267,7 @@ Actions can be:
|
|||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
status_messages = TestStatusMessage(args.mgr,
|
status_messages = TestStatusMessage(args.mgr,
|
||||||
lfjson_port,
|
args.mgr_port,
|
||||||
_debug_on=False,
|
_debug_on=False,
|
||||||
_exit_on_error=False,
|
_exit_on_error=False,
|
||||||
_exit_on_fail=False)
|
_exit_on_fail=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user