avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
345 stars 343 forks source link

Optimize the format of the code, check the list None before use #5980

Closed buildearth closed 5 months ago

buildearth commented 5 months ago

Check whether the list is empty before obtaining the value of the list to ensure the robustness of the program. Optimized code format.

mr-avocado[bot] commented 5 months ago

Dear contributor, Avocado is currently at the end of sprint #106, therefore we are in feature freeze state. Please avoid merging changes that do not fall into these categories:

The feature freeze will be active until the release planned on 28 June 2024.