From 462e47d5b87ba72b5777dc75d1301dc0ae18d4be Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 16 Nov 2021 11:04:07 -0800 Subject: [PATCH] test_l3_longevity: Remove invalid comparisons Signed-off-by: Matthew Stidham --- py-scripts/test_l3_longevity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-scripts/test_l3_longevity.py b/py-scripts/test_l3_longevity.py index 62b67f34..9a9cae77 100755 --- a/py-scripts/test_l3_longevity.py +++ b/py-scripts/test_l3_longevity.py @@ -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()):