From c5e8d83b73dba3c32b5c5e60aaa49f34ec1f23eb Mon Sep 17 00:00:00 2001 From: tpltnt Date: Sun, 31 Dec 2017 15:02:10 +0100 Subject: [PATCH] removed old test/trial helper module --- src/allmydata/test/run_trial.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/allmydata/test/run_trial.py diff --git a/src/allmydata/test/run_trial.py b/src/allmydata/test/run_trial.py deleted file mode 100644 index 66c45ea63..000000000 --- a/src/allmydata/test/run_trial.py +++ /dev/null @@ -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()