Skip to content
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

Support yangson > 1.3.45 #26

Open
dgjustice opened this issue Dec 18, 2019 · 2 comments
Open

Support yangson > 1.3.45 #26

dgjustice opened this issue Dec 18, 2019 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@dgjustice
Copy link
Contributor

yangson 1.3.47 breaks two tests

tests/integration/test_integration.py::Test::test_parser[junos_openconfig-vlans] FAILED
tests/integration/test_integration.py::Test::test_parser[ios_test_case_2] FAILED

Both errors are of the type

yangson.exceptions.SchemaError: [$path] config member-not-allowed: $path
@FragmentedPacket FragmentedPacket added the bug Something isn't working label Jan 10, 2020
@FragmentedPacket
Copy link
Contributor

Just an FYI, I looked into this, and if we pass validate=False to the process() action within these tests, they pass. Still looking into root cause, but I have a feeling it is the way it's constructing and validating these against the YANG models that is causing this to fail.

@jathanism jathanism added this to the v0.2 milestone Feb 19, 2020
@FragmentedPacket
Copy link
Contributor

Submitted issue over at Yangson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants