[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3919: Refactor ConfigUtilTests and Pipeline tests

Tahoe-LAFS trac at tahoe-lafs.org
Wed Aug 17 22:35:05 UTC 2022


#3919: Refactor ConfigUtilTests and Pipeline tests
-------------------------+-----------------------
     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:

> Update `ConfigUtilTests` tests in `src/allmydata/test/test_configutil.py`
> and `Pipeline` in `src/allmydata/test/test_pipeline.py`  to either use
> `SyncTestCase` or `AsyncTestCase` base test case and not
> `unittest.TestCase`
>
> This refactor would also involve using new and better assertion methods.

New description:

 Update `ConfigUtilTests` tests in `src/allmydata/test/test_configutil.py`
 and `Pipeline` in `src/allmydata/test/test_pipeline.py`  to either use
 `SyncTestCase` or `AsyncTestCase` base test case and not
 `unittest.TestCase`

 This refactor would also involve using new and better assertion methods.

 Added pipeline tests to this because just like the `ConfigUtilsTests`
 class `Pipeline` does not have a too many tests and so together would a
 bigger but still small size refactor PR

--

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


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