#2273 closed defect (cannot reproduce)

formatting error (extra whitespace) in usage string

Reported by: zooko Owned by: zooko
Priority: normal Milestone: undecided
Component: unknown Version: 1.10.0
Keywords: Cc:
Launchpad Bug:

Description

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())

Change History (3)

comment:1 Changed at 2014-08-08T22:36:17Z by zooko

  • Owner changed from daira to zooko
  • Status changed from new to assigned

comment:2 Changed at 2014-08-15T23:34:44Z by daira

I don't understand. Please clarify what the problem is.

comment:3 Changed at 2014-08-16T00:10:32Z by zooko

  • Resolution set to cannot reproduce
  • Status changed from assigned to closed

Well, I can't reproduce it.

Note: See TracTickets for help on using tickets.