devolo / adaptavist

python package providing functionality for Jira Test Management (tm4j)
MIT License
8 stars 11 forks source link

Sort test results to get latest execution results #43

Closed KanoB closed 1 year ago

KanoB commented 1 year ago

Proposed change sort the results by dictionary key name 'key'. After putting some work I noticed the unittest for the function is using data that does not have that information.

I used 'key' item instead of dates because I noticed date can be deceiving when someone manually updates the information in JIRA. But the key is assigned by the system itself cannot be modified.

I created a new unit test to consider the fixture data with multiple execution results.

42

KanoB commented 1 year ago

Hi @Shutgun,

Sorry for taking so long in this. I have updated per your suggestions. Let me know if you are ok with the changes.

Regards, K

Shutgun commented 1 year ago

thx @KanoB , please let me check one more thing tomorrow: pytest-adaptavist is the main consumer of this package and I need to check the compatibility. If it works out, I will merge your change and release it :+1: