sonic-buildimage/src/sonic-yang-models/tests
lguohan 7124dbe56b
[sonic-yang-models]: fix unit test failure (#7436)
https://github.com/mbj4668/pyang/blob/master/pyang/repository.py#L93 throws an exception with pip 21.1

add ietf yang model explicitly to the build process fix the test failure.

tests/test_sonic_yang_models.py .F [ 66%]
tests/yang_model_tests/test_yang_model.py . [100%]
Failed: pyang -f tree ./yang-models/*.yang > ./yang-models/sonic_yang_tree
----------------------------- Captured stderr call -----------------------------
./yang-models/sonic-acl.yang:8: error: module "ietf-inet-types" not found in search path
./yang-models/sonic-device_metadata.yang:8: error: module "ietf-yang-types" not found in search path

Signed-off-by: Guohan Lu <lguohan@gmail.com>
2021-05-06 10:57:03 -07:00
..
files [DPB][YANG] extended yang-model - added 'buffer_model' field, added test cases (#6464) 2021-04-22 10:00:36 +03:00
yang_model_tests [DPB][YANG] extended yang-model - added 'buffer_model' field, added test cases (#6464) 2021-04-22 10:00:36 +03:00
__init__.py [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
test_sonic_yang_models.py [sonic-yang-models]: fix unit test failure (#7436) 2021-05-06 10:57:03 -07:00