[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2891: fix intermittent test coverage
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Aug 10 18:40:07 UTC 2017
#2891: fix intermittent test coverage
------------------------+-----------------------
Reporter: warner | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code | Version: 1.12.1
Resolution: | Keywords:
Launchpad Bug: |
------------------------+-----------------------
Comment (by Brian Warner <warner@…>):
In [changeset:"3f2f7dfb05ad7f505b70323459aec8d70d2a3ab5/trunk"
3f2f7df/trunk]:
{{{
#!CommitTicketReference repository="trunk"
revision="3f2f7dfb05ad7f505b70323459aec8d70d2a3ab5"
dictutil: fix bug in str(ValueOrderedDict), and improve test coverage
It looks like str() was meant to truncate the dict, but a missing i+=1
meant
that it never actually did. I also changed the format to include a clear
"..." in case we truncate it, to avoid confusion with a non-truncated dict
of
the same size.
This also improves test coverage in subtract() and
NumDict.item_with_largest_value().
refs ticket:2891
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2891#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list