Uh oh!
There was an error while loading. Please reload this page.
Porting tests from archived repository of OpenPAYGO-Token - #27
Conversation
dmohns
left a comment
There was a problem hiding this comment.
Looks really good already! Left a couple of comments
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dmohns
commented
Jan 5, 2026
Hey @CoderOMaster another comment: I have updated the library to use a more modern tooling Also, probably need to resolve merge conflicts. Apologies for the additional effort 🙏 |
dmohns
left a comment
There was a problem hiding this comment.
Hey @CoderOMaster
left some more comments.
Uh oh!
There was an error while loading. Please reload this page.
| To run the test, first, create and activate a virtual environment. Then install the module and run the test: | ||
| ```bash | ||
| cd tests | ||
| python -m venv env | ||
| source env/bin/activate | ||
| python -m pip install -e .. | ||
| python simple_scenario_test.py | ||
| ``` | ||
| You can do it for full test procedure as well: | ||
| ```bash | ||
| python full_test_procedure.py | ||
| ``` |
There was a problem hiding this comment.
This is much simpler in the new repo. Just
uv run python test/simple_scenario_test.py uv run python test/full_test_procedure.pyCan you adapt the README ?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dmohns
commented
Jan 19, 2026
Uh oh!
There was an error while loading. Please reload this page.
Brief summary of the change made
Copied tests cases from OpenPAYGO-Token Repository (Archived), refactored them based on relevant imports, added error handling during hex decoding, copied and refactor device and service simulators and improved token encoding and decoding script to handle changes.
Link-> https://github.com/EnAccess/OpenPAYGO-Token.git
closes: #13
Are there any other side effects of this change that we should be aware of?
I do not think so
Describe how you tested your changes?
I have followed the readme.md to run my changes as well as pytest for original test to make sure it works
Pull Request checklist
Please confirm you have completed any of the necessary steps below.