[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3757: Refactor web module tests to use a single base test case class.

Tahoe-LAFS trac at tahoe-lafs.org
Thu Aug 5 11:00:54 UTC 2021


#3757: Refactor web module tests to use a single base test case class.
-----------------------------+-----------------------
     Reporter:  fenn-cs      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  undecided
    Component:  unknown      |    Version:  n/a
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+-----------------------

Comment (by exarkun):

 `src/allmydata/test/web` is a whole package containing 6300 lines of test
 code.  I suggest narrowing the scope here a little further - for example,
 to just `test_introducer` or `test_root`.

 Also, let's make it explicit.  The preferred base class should be
 SyncTestCase.  Where necessary, AsyncTestCase can be used (but if it is
 not necessary in a particular case, or if we can easily rewrite some test
 code to not require it, we should use SyncTestCase).

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


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