Skip to content

Conversation

@feng-j678
Copy link
Contributor

What is in this PR:
[X] Modify the nested for loop in set_package_assessment_status to use order dictionary for quicker look up
[X] unit test assessment order dictionary

@codecov
Copy link

codecov bot commented Jun 16, 2023

Codecov Report

Merging #193 (76af3e2) into master (565390c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   89.99%   90.01%   +0.01%     
==========================================
  Files          90       90              
  Lines       14328    14356      +28     
==========================================
+ Hits        12895    12923      +28     
  Misses       1433     1433              
Flag Coverage Δ
python27 90.11% <100.00%> (+0.02%) ⬆️
python39 90.01% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/src/service_interfaces/StatusHandler.py 92.92% <100.00%> (+0.08%) ⬆️
src/core/tests/Test_StatusHandler.py 99.69% <100.00%> (+0.02%) ⬆️

kjohn-msft
kjohn-msft previously approved these changes Jun 16, 2023
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment inline

Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment inline

@feng-j678 feng-j678 force-pushed the user/jf/add_orderdic_assessment branch from 7374ef6 to 8e73857 Compare June 20, 2023 19:24
@feng-j678 feng-j678 force-pushed the user/jf/add_orderdic_assessment branch from 8e73857 to 7249ae1 Compare June 20, 2023 20:00
Copy link
Contributor

@rane-rajasi rane-rajasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@feng-j678 Now that the py27 CI issue is fixed, let that PR go in first, so you can fetch latest from master into this PR, run py27 on this PR and then merge.

@kjohn-msft kjohn-msft changed the title add order dictionary for quicker up for asessment packages Add ordered dictionary for quicker look up of Assessment packages in StatusHandler Jun 21, 2023
@feng-j678 feng-j678 merged commit ba59b85 into master Jun 21, 2023
@feng-j678 feng-j678 deleted the user/jf/add_orderdic_assessment branch June 21, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants