Skip to content

Commit

Permalink
[libyang-python-tests/test_sonic_yang.py]: Allow extra tables in conf…
Browse files Browse the repository at this point in the history
…ig for the test.

Changes:
1.) All the YANG models are not merged yet, so test config has tables with no YANG,
allow this scenario for tests as of now.
  • Loading branch information
Praveen Chaudhary committed May 8, 2020
1 parent 49c46a6 commit fb66b2c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ def test_xlate_rev_xlate(self):

syc.loadYangModel()

syc.load_data(json.loads(jIn), allowExtraTables=False)
# Allow additional tabbles in config, since all yang models are not merged #
syc.load_data(json.loads(jIn))

syc.get_data()

Expand Down

0 comments on commit fb66b2c

Please sign in to comment.