[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2811: coverage: replace run_trial with "python -m twisted.trial"

Tahoe-LAFS trac at tahoe-lafs.org
Sun Aug 28 06:51:36 UTC 2016


#2811: coverage: replace run_trial with "python -m twisted.trial"
--------------------+----------------------------
 Reporter:  warner  |          Owner:
     Type:  task    |         Status:  new
 Priority:  normal  |      Milestone:  eventually
Component:  code    |        Version:  1.11.0
 Keywords:  easy    |  Launchpad Bug:
--------------------+----------------------------
 Twisted-16.4.0 was just released today, and one of the improvements is the
 addition of `python -m twisted.trial`, which should behave just like
 `trial`. This will be handy for our `tox -e coverage` environment, which
 must currently import a module that we wrote (`allmydata.test.run_trial`)
 to do the same thing.

 The fix will be:

 * change tox.ini to use `-m twisted.trial` instead of `-m
 allmydata.test.run_trial`
 * depend upon twisted >=16.4.0
 * delete allmydata.test.run_trial

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2811>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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