nightly: Fix python syntax error.

is oprator should not be used for Scalars evidently.

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear
2021-01-15 09:57:44 -08:00
parent 314aa39313
commit ef4c4373a5

View File

@@ -1674,7 +1674,7 @@ with open('sanity_status.json', 'w') as json_file:
# Calculate percent of tests passed for report
for key in ap_models:
if report_data['fw_available'][key] is "No":
if report_data['fw_available'][key] == "No":
report_data["pass_percent"][key] = "Not Run"
else:
no_of_tests = len(report_data["tests"][key])