test_l3_longevity: Remove invalid comparisons

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-16 11:04:07 -08:00
parent 20597efed9
commit 462e47d5b8

View File

@@ -552,7 +552,7 @@ class L3VariableTime(Realm):
def reset_port_check(self):
for station_profile in self.station_profiles:
if station_profile.reset_port_extra_data['reset_port_enable']:
if station_profile.reset_port_extra_data['reset_port_timer_started'] is False:
if not station_profile.reset_port_extra_data['reset_port_timer_started']:
print(
"reset_port_timer_started {}".format(
station_profile.reset_port_extra_data['reset_port_timer_started']))
@@ -2952,7 +2952,7 @@ Setting wifi_settings per radio
wifi_settings_found = False
break
if wifi_settings_found is True:
if wifi_settings_found:
# Check for additional flags
if set(('wifi_mode', 'enable_flags')).issubset(
radio_info_dict.keys()):