-
Notifications
You must be signed in to change notification settings - Fork 9
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
Data transformation #5
Data transformation #5
Conversation
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.
All python files should get a licence header and i am not sure why the requirements.txt is necessary.
def test_parsing(xml): | ||
under_test = XMLParser() | ||
result = under_test.parse(xml) | ||
assert result == {'data': {'a': 'b'}} |
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.
would be good to get additional tests for the normalization behavior too.
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.
The data normalization is done within gvmd.py; there is a different test for that:
tests/test_gvmd_scanreport_datatransformation.py
the xml parser just creates a dict representation of any xml so far
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
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.
Added links to the pr to the changelog
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Co-authored-by: Björn Ricks <bjoern.ricks@gmail.com>
Checklist: