commit dda19c5a05404677b14ca8460b7cebf7d330b91a Author: Zack Weinberg zackw@panix.com Date: Thu Feb 2 09:51:58 2012 -0800
Monkeyin' with the test suite. --- src/test/test_tl.py | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/src/test/test_tl.py b/src/test/test_tl.py index a91beca..6d632f8 100644 --- a/src/test/test_tl.py +++ b/src/test/test_tl.py @@ -70,21 +70,19 @@ class TimelineTest(object): "127.0.0.1:5010","nosteg_rr", ))
- # def test_chop_nosteg_rr2(self): - # self.doTest("chop", - # ("chop", "server", "127.0.0.1:5001", - # "127.0.0.1:5010","nosteg_rr","127.0.0.1:5011","nosteg_rr", - # "chop", "client", "127.0.0.1:4999", - # "127.0.0.1:5010","nosteg_rr","127.0.0.1:5011","nosteg_rr", - # )) - - # def test_chop_http(self): - # self.doTest("chop", - # ("chop", "server", "127.0.0.1:5001", - # "127.0.0.1:5010","http","127.0.0.1:5011","http", - # "chop", "client", "127.0.0.1:4999", - # "127.0.0.1:5010","http","127.0.0.1:5011","http", - # )) + def test_chop_nosteg_rr2(self): + self.doTest("chop", + ("chop", "server", "127.0.0.1:5001", + "127.0.0.1:5010","nosteg_rr","127.0.0.1:5011","nosteg_rr", + "chop", "client", "127.0.0.1:4999", + "127.0.0.1:5010","nosteg_rr","127.0.0.1:5011","nosteg_rr", + )) + + # NOTE: 'embed' steg presently cannot be tested using this system + # because it runs out of trace data before any of the tests complete. + + # NOTE: 'http' steg presently cannot be tested using this system + # because the trace pools are process-global rather than per-listener.
# Synthesize TimelineTest+TestCase subclasses for every 'tl_*' file in # the test directory.
tor-commits@lists.torproject.org