mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-10 04:09:58 +00:00
removed old test/trial helper module
This commit is contained in:
parent
c7cf7c3956
commit
c5e8d83b73
@ -1,16 +0,0 @@
|
||||
|
||||
# This is a tiny helper module, to let "python -m allmydata.test.run_trial
|
||||
# ARGS" does the same thing as running "trial ARGS" (unfortunately
|
||||
# twisted/scripts/trial.py does not have a '__name__=="__main__"' clause).
|
||||
#
|
||||
# This makes it easier to run trial under coverage from tox:
|
||||
# * "coverage run trial ARGS" is how you'd usually do it
|
||||
# * but "trial" must be the one in tox's virtualenv
|
||||
# * "coverage run `which trial` ARGS" works from a shell
|
||||
# * but tox doesn't use a shell
|
||||
# So use:
|
||||
# "coverage run -m allmydata.test.run_trial ARGS"
|
||||
|
||||
if __name__ == "__main__":
|
||||
from twisted.scripts.trial import run
|
||||
run()
|
Loading…
x
Reference in New Issue
Block a user