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

This loop was written as if the 'test' structure is a copy of the #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jnpr-bowen
Copy link

self.test_details list, but it is only a reference to it, setting
test['command'], and del test['test_name'] alters self.test_details.
Referring to testname_results twice will crash as
self.test_details['test_name'] has been deleted.

What does this PR do?

What issues does this PR fix or reference? PR 330

Previous Behavior

looping over testname_results would crash the app

New Behavior

Leaves test_details['test_name'] in the dict so it does not crash

Tests written?

Test written in PR330 comments, need to know how to put that into code test

self.test_details list, but it is only a reference to it, setting
test['command'], and del test['test_name'] alters self.test_details.
Referring to testname_results twice will crash as
self.test_details['test_name'] has been deleted.
@coveralls
Copy link

coveralls commented Jan 31, 2019

Pull Request Test Coverage Report for Build 266

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.07%) to 92.593%

Totals Coverage Status
Change from base Build 263: -0.07%
Covered Lines: 7875
Relevant Lines: 8505

💛 - Coveralls

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.

2 participants