fix: switch from rev4 to rev5 in test files - #2116
Conversation
Signed-off-by: LAKSHJAIN14 <jainlaksh07@gmail.com>
|
|
@degenaro Well in these files , these source links are not used to load any file or anything, it acts as metadata documenting the origin of the data, like these implemented requirements were defined against this catalog. I don't think we need to change anything there. |
|
@LAKSHJAIN14 Unless there is a compelling reason to keep rev4 remnants, we should expunge. We want to present a modern and up-to-date posture. Please do check for other rev4 references I may have missed. Thx! |
|
@degenaro for these test files, the source URL used here tells us which catalog the implemented-requirements were mapped against so if we change it to rev5 then the test data would also have to change accordingly so it maps to the rev5 catalog, Which I don't think is necessary here. And yeah I couldn't find any other rev4 references other than these. |
|
@LAKSHJAIN14 As discussed at community meeting please make updates to remove these references. Thx! |
|
I looked at the test functions in which those test files were being used and its just checking if trestle can successfully parse and validate a comp def file or not so the control ids and source URL doesn't really matter to it so we could just change the source URL to rev5 one and it wouldn't really affect the test, but if we have to actually change the test data to be mapped against rev5 controls ,It would require a lot of manual work to convert this to that,It would rather be a good option if you have an existing test data which is already mapped according to rev5 controls then maybe we could make the changes in that accordingly. |
|
@LAKSHJAIN14 Yes, there is some work involved with converting from rev4 to rev5. Do you have an example of one that you are having trouble with? |
|
AI should be able to help with: |
|
Yeah Ig I would do that, I thought you might have an existing test data that was mapped to rev5 |
Signed-off-by: LAKSHJAIN14 <jainlaksh07@gmail.com>
|
@degenaro Also the |
|
@LAKSHJAIN14 Looks mostly good. Lower case seems correct for the labels, but why are the parts dropped such as .a, .b?
|
Yes, if not used it should be deleted. Thx! |
|
@vikas-agarwal76 Could you comment of the ac-8 vs. ac-8.a? (Are part controls?) |

Types of changes
develop->main)Summary
As discussed with @degenaro , this PR fixes a part of #1959
switched from rev4 to rev5 and removed some constants in the
/tests/test_utils.pyas they were no longer being used anywhere and their equivalent rev5 constants were already there so just wanted to know if there's no problem in that ?