Skip to content

For empty id in check-operation, id needs to be handled separately#379

Merged
vnitinv merged 2 commits intoJuniper:masterfrom
rahkumar651991:get_data_id
Oct 29, 2020
Merged

For empty id in check-operation, id needs to be handled separately#379
vnitinv merged 2 commits intoJuniper:masterfrom
rahkumar651991:get_data_id

Conversation

@rahkumar651991
Copy link
Contributor

What does this PR do?

For empty id, it doesn't check for node values.

What issues does this PR fix or reference?

For some snapshot it was causing error as id-value gave None.

@coveralls
Copy link

coveralls commented Oct 28, 2020

Pull Request Test Coverage Report for Build 367

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 280 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.01%) to 91.288%

Files with Coverage Reduction New Missed Lines %
/home/travis/virtualenv/python3.5.6/lib/python3.5/site-packages/jnpr/jsnapy/operator.py 70 92.09%
/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/jnpr/jsnapy/operator.py 70 92.09%
/home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/jnpr/jsnapy/operator.py 70 92.09%
/home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages/jnpr/jsnapy/operator.py 70 92.1%
Totals Coverage Status
Change from base Build 365: 0.01%
Covered Lines: 7733
Relevant Lines: 8471

💛 - Coveralls

Copy link
Contributor

@vnitinv vnitinv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please add UT for this PC of code.

@vnitinv vnitinv merged commit 5e7b24d into Juniper:master Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants