Merge lp://qastaging/~joetalbott/utah/fix_duplicate_docstrings into lp://qastaging/utah

Proposed by Joe Talbott
Status: Merged
Approved by: Javier Collado
Approved revision: 783
Merged at revision: 785
Proposed branch: lp://qastaging/~joetalbott/utah/fix_duplicate_docstrings
Merge into: lp://qastaging/utah
Diff against target: 21 lines (+2/-2)
1 file modified
utah/client/tests/test_state_agent.py (+2/-2)
To merge this branch: bzr merge lp://qastaging/~joetalbott/utah/fix_duplicate_docstrings
Reviewer Review Type Date Requested Status
Javier Collado (community) Approve
Joe Talbott (community) Needs Resubmitting
Review via email: mp+139212@code.qastaging.launchpad.net

Description of the change

This branch fixes the docstrings that were duplicated in some testcases.

To post a comment you must log in.
Revision history for this message
Javier Collado (javier.collado) wrote :

When looking at a failure in nosetests output, if the method contains a
docstring, it prints the first line as an id of the test case:

======================================================================
ERROR: Test that a partially run state file with all jobs done
----------------------------------------------------------------------

Hence, if the first line is in the docstring is still the same one, the problem
isn't fixed. To be more specific, the test cases involved are:

test_load_state_partial
test_load_state_partial_run_all
test_load_state_partial_done_all_failed

review: Needs Fixing
783. By Joe Talbott

test_state_agent - Shorten docstrings and make them unique.

Revision history for this message
Joe Talbott (joetalbott) wrote :

I didn't realize it only uses the first line. This is actually one thing I don't like about nosetests. I've shortened the docstrings back to a single unique line.

review: Needs Resubmitting
Revision history for this message
Javier Collado (javier.collado) wrote :

Thanks for the update.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches