num_stations argument fixed here, few other tests to have this argument fixed still

This commit is contained in:
Dipti
2020-10-30 01:06:50 -07:00
parent 1ea8a3ba97
commit 2c81033437
6 changed files with 16 additions and 9 deletions

View File

@@ -203,7 +203,9 @@ python3 ./test_generic.py --upstream_port eth1 \\
args = parser.parse_args()
num_sta = 2
if (args.num_stations is not None) and (int(args.num_stations) > 0):
num_sta = int(args.num_stations)
num_stations_converted = int(args.num_stations)
num_sta = num_stations_converted
station_list = LFUtils.portNameSeries(radio=args.radio,
prefix_="sta",
start_id_=0,