[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3886: It is inconvenient to test code using `async def` using Tahoe's unittest-based testing tools

Tahoe-LAFS trac at tahoe-lafs.org
Wed Apr 6 15:27:36 UTC 2022


#3886: It is inconvenient to test code using `async def` using Tahoe's unittest-
based testing tools
------------------------------------+-----------------------
     Reporter:  exarkun             |      Owner:
         Type:  enhancement         |     Status:  new
     Priority:  normal              |  Milestone:  undecided
    Component:  dev-infrastructure  |    Version:  n/a
   Resolution:                      |   Keywords:
Launchpad Bug:                      |
------------------------------------+-----------------------

Comment (by itamarst):

 There's a decorator that enables one solution to this in
 `test_storage_https.py`, `async_to_defered` (once https://github.com
 /tahoe-lafs/tahoe-lafs/pull/1189 is merged).

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


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