alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
17 stars 6 forks source link

[FIX] Fixing ordering when updating identifiers #496

Closed cptanalatriste closed 2 weeks ago

cptanalatriste commented 2 weeks ago

When traversing the case graph, we were obtaining case element lists (Contexts, Property Claims, ...) for updating without specifying ordering criteria. In this fix, we made sure when gathering these lists, they are sorted by primary key.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 9588739363

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
eap_backend/eap_api/models.py 1 2 50.0%
eap_backend/eap_api/views.py 4 5 80.0%
<!-- Total: 5 7 71.43% -->
Files with Coverage Reduction New Missed Lines %
eap_backend/eap_api/models.py 8 88.79%
eap_backend/eap_api/views.py 69 63.13%
<!-- Total: 77 -->
Totals Coverage Status
Change from base Build 9585938904: 0.0%
Covered Lines: 1338
Relevant Lines: 1620

💛 - Coveralls
coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 9588742973

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
eap_backend/eap_api/views.py 5 9 55.56%
<!-- Total: 8 12 66.67% -->
Files with Coverage Reduction New Missed Lines %
eap_backend/eap_api/models.py 1 88.79%
eap_backend/eap_api/views.py 2 63.13%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 9585938904: 0.0%
Covered Lines: 1338
Relevant Lines: 1620

💛 - Coveralls