psss / python-nitrate

Python API for the Nitrate test case management system
GNU Lesser General Public License v2.1
9 stars 24 forks source link

TestPlan.sortkey too slow #9

Closed lukaszachy closed 5 years ago

lukaszachy commented 5 years ago

Add caching functionality, speeds stuff a bit. Use try/except to create structure and cache data.

psss commented 5 years ago

Thanks for the patch, Lukáš. Looks good. There was just a typo when storing retrieved sortkey to cache (which caused all values to be None). I've fixed that and together with a couple cosmetic adjustments merged to master.