mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	test_ipv4_ps: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -10,7 +10,6 @@ if sys.version_info[0] != 3:
 | 
			
		||||
    print("This script requires Python 3")
 | 
			
		||||
    exit(1)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
 | 
			
		||||
 | 
			
		||||
lfcli_base = importlib.import_module("py-json.LANforge.lfcli_base")
 | 
			
		||||
@@ -78,7 +77,8 @@ class IPV4VariableTime(LFCliBase):
 | 
			
		||||
                            cx_rx_map[item] = value_rx
 | 
			
		||||
        return cx_rx_map
 | 
			
		||||
 | 
			
		||||
    def __compare_vals(self, old_list, new_list):
 | 
			
		||||
    @staticmethod
 | 
			
		||||
    def __compare_vals(old_list, new_list):
 | 
			
		||||
        passes = 0
 | 
			
		||||
        expected_passes = 0
 | 
			
		||||
        if len(old_list) == len(new_list):
 | 
			
		||||
@@ -172,7 +172,6 @@ class IPV4VariableTime(LFCliBase):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def main():
 | 
			
		||||
 | 
			
		||||
    parser = LFCliBase.create_basic_argparse(
 | 
			
		||||
        prog='test_ipv4_variable_time.py',
 | 
			
		||||
        # formatter_class=argparse.RawDescriptionHelpFormatter,
 | 
			
		||||
@@ -194,12 +193,6 @@ Generic command layout:
 | 
			
		||||
--test_duration 2m
 | 
			
		||||
--debug
 | 
			
		||||
        ''')
 | 
			
		||||
    required = None
 | 
			
		||||
    for agroup in parser._action_groups:
 | 
			
		||||
        if agroup.title == "required arguments":
 | 
			
		||||
            required = agroup
 | 
			
		||||
    #if required is not None:
 | 
			
		||||
 | 
			
		||||
    optional = None
 | 
			
		||||
    for agroup in parser._action_groups:
 | 
			
		||||
        if agroup.title == "optional arguments":
 | 
			
		||||
@@ -215,8 +208,7 @@ Generic command layout:
 | 
			
		||||
        num_stations_converted = int(args.num_stations)
 | 
			
		||||
        num_sta = num_stations_converted
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=num_sta-1, padding_number_=10000,
 | 
			
		||||
    station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=num_sta - 1, padding_number_=10000,
 | 
			
		||||
                                          radio=args.radio)
 | 
			
		||||
 | 
			
		||||
    ip_var_test = IPV4VariableTime(host=args.mgr, port=args.mgr_port,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user