[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3916: Refactor tests that can but do not use base test classes.

Tahoe-LAFS trac at tahoe-lafs.org
Mon Aug 15 23:13:03 UTC 2022


#3916: Refactor tests that can but do not use base test classes.
-------------------------+-----------------------
     Reporter:  fenn-cs  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  undecided
    Component:  unknown  |    Version:  n/a
   Resolution:           |   Keywords:
Launchpad Bug:           |
-------------------------+-----------------------
Description changed by fenn-cs:

Old description:

> Just like in #3758, update `FakeWebTest` in
> src/allmydata/test/test_testing.py  to either use SyncTestCase and
> AsyncTestCase and not `testtools.TestCase`
>
> FakeWebTest: src/allmydata/test/test_testing.py
> MemoryConsumerTests: src/allmydata/test/test_consumer.py
> PythonTwoRegressions: src/allmydata/test/test_python2_regressions.py

New description:

 Just like in #3758, update test such as `FakeWebTest` in
 src/allmydata/test/test_testing.py  to either use SyncTestCase and
 AsyncTestCase and not `testtools.TestCase`

 * FakeWebTest: src/allmydata/test/test_testing.py

 * MemoryConsumerTests: src/allmydata/test/test_consumer.py

 * PythonTwoRegressions: src/allmydata/test/test_python2_regressions.py

--

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


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