mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 12:04:52 +00:00
Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -10,9 +10,8 @@ if 'py-json' not in sys.path:
|
||||
|
||||
from LANforge.lfcli_base import LFCliBase
|
||||
from LANforge.LFUtils import *
|
||||
from LANforge import LFUtils
|
||||
import argparse
|
||||
import realm
|
||||
from realm import Realm
|
||||
|
||||
class TestGroup(LFCliBase):
|
||||
def __init__(self, host, port,
|
||||
@@ -24,7 +23,7 @@ class TestGroup(LFCliBase):
|
||||
list_groups=None,
|
||||
show_group=None):
|
||||
|
||||
self.local_realm = realm.Realm(lfclient_host=host, lfclient_port=port)
|
||||
self.local_realm = Realm(lfclient_host=host, lfclient_port=port)
|
||||
self.tg_profile = self.local_realm.new_test_group_profile()
|
||||
if group_name is None and list_groups is None and (tg_action is not None or cx_action is not None or
|
||||
add_cx_list is not None or rm_cx_list is not None or show_group is not None):
|
||||
|
||||
Reference in New Issue
Block a user