test_l3_longevity: Use set literal when possible

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-29 14:32:51 -08:00
parent 2a12e63914
commit a29d582e89

View File

@@ -969,7 +969,7 @@ class L3VariableTime(Realm):
csv_header = self.csv_generate_column_headers() csv_header = self.csv_generate_column_headers()
# print(csv_header) # print(csv_header)
self.csv_add_column_headers(csv_header) self.csv_add_column_headers()
# dl - ports # dl - ports
port_eids = self.gather_port_eids() port_eids = self.gather_port_eids()
@@ -3084,7 +3084,7 @@ Setting wifi_settings per radio
if wifi_settings_found: if wifi_settings_found:
# Check for additional flags # Check for additional flags
if set(('wifi_mode', 'enable_flags')).issubset( if {'wifi_mode', 'enable_flags'}.issubset(
radio_info_dict.keys()): radio_info_dict.keys()):
print("wifi_settings flags set") print("wifi_settings flags set")
else: else: