Closed francis-pouatcha closed 9 months ago
The added test_validate_diddoc
actually conflicts with verify_didpop
. I had already run into a similar situation: the former alters the did.json
file while the latter expects the file to be readily readable.
To circumvent this, I used a temporary directory for testing keystore operations.
I definitely agree this is a situation that must be fixed to improve testability. Since a lot of files are moving right now, I think we should come back to this matter afterward.
Manually moved tests to another branch.
Somehow after naked checkout, i could not run the test. Maybe because did.json missing. I added some tests to didgen. Those produce keys/did that are used for subsequent test. This are not unit test. So we need the review the arch of the code. For now running on my side.