-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solved some Critical Issues in Formatting #83
Conversation
@maxime-esa should I create a pull request to implement unit testing for this repo? |
opengeode/AdaGenerator.py
Outdated
asn1_context = (f'\n{process_asn1}-Context ::='' SEQUENCE {\n' | ||
+ ",\n ".join(line.replace("_", "-").replace("'", '"') for line in context_elems) | ||
+ "\n}\n") | ||
asn1_context = ("\n{}-Context ::= SEQUENCE {}\n\n".format("hello", "\n,\n ".join(line.replace("_", "-").replace("'", '"') for line in context_elems))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this still there? I thought you had reverted it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really apologize for this. I changed butt not added in this commit I added code of my test version!
opengeode/AdaGenerator.py
Outdated
f'function To_{sortAda} (Src : {fromMod}) return {toMod} ' | ||
f"is ({toMod}'Enum_Val (Src'Enum_Rep));") | ||
f"function To_{sortAda} (Src : {fromMod}) return {toMod} is \ | ||
({toMod}'Enum_Val (Src'Enum_Rep));") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big fan of \ at the end of the lines, I prefer to keep it as it was
Thanks! About the unit tests, what do you have in mind? If the plan is to add some py.tests (in tests/pytests folder) then I fully approve |
Yes I will implement tests with pytest if you can create a task list and
set priorities it will help a lot!
…On Thu, Jun 24, 2021 at 5:36 PM Maxime Perrotin ***@***.***> wrote:
Thanks! About the unit tests, what do you have in mind? If the plan is to
add some py.tests (in tests/pytests folder) then I fully approve
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#83 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALY6IT5M2RM6ONSCXVZU5UDTUMRDPANCNFSM47FT3BBQ>
.
|
No description provided.