[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2663: spurious failure in test_web.Web.test_welcome* with Nevow 0.12.0/Twisted 15.5.0

Tahoe-LAFS trac at tahoe-lafs.org
Thu Jan 28 21:41:26 UTC 2016


#2663: spurious failure in test_web.Web.test_welcome* with Nevow 0.12.0/Twisted
15.5.0
----------------------------------+----------------------------------------
     Reporter:  daira             |      Owner:
         Type:  defect            |     Status:  new
     Priority:  major             |  Milestone:  1.10.3
    Component:  code-frontend-    |    Version:  1.10.2
  web                             |
   Resolution:                    |   Keywords:  tests nevow blocks-release
Launchpad Bug:                    |
----------------------------------+----------------------------------------

Comment (by warner):

 I think the tests are being too picky.. we can get most of the same
 coverage by looking for shorter strings. Also, is the output split into
 separate lines in a useful way? We could have the test look for the line
 that shows the expected nickname, then grep just that line for the other
 attributes.

 Worst case we `res.split("</div>")` and then find the section we want in
 the resulting list. Full HTML parsing is hard, but I don't think we need
 it to check what we need from this test.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2663#comment:7>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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