[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2273: formatting error (extra whitespace) in usage string

Tahoe-LAFS trac at tahoe-lafs.org
Fri Aug 8 22:35:18 UTC 2014


#2273: formatting error (extra whitespace) in usage string
---------------------+---------------------------
 Reporter:  zooko    |          Owner:  daira
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  1.10.0
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 This unit test fails, because the "usage" string in {{{tahoe backup}}} has
 extra whitespace. I haven't yet checked if other usage strings have the
 same problem.

 {{{
 --- a/src/allmydata/test/test_cli.py
 +++ b/src/allmydata/test/test_cli.py
 @@ -611,6 +611,7 @@ class Help(unittest.TestCase):
      def test_backup(self):
          help = str(cli.BackupOptions())
          self.failUnlessIn(" [global-opts] backup [options] FROM
 ALIAS:TO", help)
 +        self.failUnlessIn("sharing as many files", help)

      def test_webopen(self):
          help = str(cli.WebopenOptions())
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2273>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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