[tahoe-lafs-trac-stream] [tahoe-lafs] #1805: tahoe cp verbose counts from 0 to n-1 of n

tahoe-lafs trac at tahoe-lafs.org
Fri Sep 14 16:42:01 UTC 2012


#1805: tahoe cp verbose counts from 0 to n-1 of n
-----------------------------------+-------------------------
     Reporter:  ChosenOne          |      Owner:
         Type:  defect             |     Status:  new
     Priority:  minor              |  Milestone:  undecided
    Component:  code-frontend-cli  |    Version:  1.9.2
   Resolution:                     |   Keywords:  test-needed
Launchpad Bug:                     |
-----------------------------------+-------------------------
Changes (by zooko):

 * keywords:   => test-needed


Comment:

 Thank you for the patch, !ChosenOne! This needs a unit test. Here are the
 extant
 [source:src/allmydata/test/test_cli.py at 20120904224538-66853-76911c7a332d6d1a5d5be880a192e4e9d05c155f#L1891
 tests] of the {{{tahoe cp}}} command. Someone (possibly you, !ChosenOne)
 needs to make a method of {{{class Cp}}} which copies more than one file,
 and fails unless the stdout has the right count in it. Note that the
 {{{do_cli}}} helper function that is already defined in {{{test_cli.py}}}
 captures stdout by default and passes it as the second argument to the
 callback.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1805#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list