Fixed missing self.debug for create method

This commit is contained in:
Logan Lipke
2020-07-30 12:36:05 -07:00
parent 162091aa9c
commit 7efbce8a46
8 changed files with 11 additions and 9 deletions

View File

@@ -60,13 +60,14 @@ class IPV4VariableTime(LFCliBase):
def __get_rx_values(self):
cx_list = self.json_get("endp?fields=name,rx+bytes", debug_=self.debug)
# print(self.cx_profile.created_cx.values())
#print("==============\n", cx_list, "\n==============")
cx_rx_map = {}
for cx_name in cx_list['endpoint']:
if cx_name != 'uri' and cx_name != 'handler':
for item, value in cx_name.items():
for value_name, value_rx in value.items():
if value_name == 'rx bytes':
if value_name == 'rx bytes' and item in self.cx_profile.created_cx.values():
cx_rx_map[item] = value_rx
return cx_rx_map
@@ -88,6 +89,7 @@ class IPV4VariableTime(LFCliBase):
return False
def start(self, print_pass=False, print_fail=False):
LFUtils.wait_until_ports_disappear
self.station_profile.admin_up(self.resource)
temp_stas = self.sta_list.copy()
temp_stas.append("eth1")
@@ -159,7 +161,7 @@ def main():
password="jedway-wpa2-x2048-4-4",
resource=1,
security="wpa2", test_duration="5m",
side_a_min_rate=256000, side_b_min_rate=256000, _debug_on=False)
side_a_min_rate=256000, side_b_min_rate=256000, _debug_on=True)
ip_var_test.cleanup(station_list)
ip_var_test.build()