commit 74d9e01f8aa78f9c11c47e06cbcce60df3093389 Author: Ana Custura ana@netstat.org.uk Date: Thu Jun 27 02:07:59 2019 +0100
Fixes log collect bug introduced by adding new logs in the data directory --- onionperf/tests/test_reprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/onionperf/tests/test_reprocessing.py b/onionperf/tests/test_reprocessing.py index 6c58bcd..54b6ddf 100644 --- a/onionperf/tests/test_reprocessing.py +++ b/onionperf/tests/test_reprocessing.py @@ -25,7 +25,7 @@ def test_log_collection_tgen():
def test_log_collection_torctl(): log_list = reprocessing.collect_logs(DATA_DIR, '*torctl.log') - well_known_list = [ DATA_DIR + 'logs/onionperf.torctl.log', DATA_DIR + 'logs/onionperf_2019-01-10_23:59:59.torctl.log' ] + well_known_list = [ DATA_DIR + 'logs/onionperf_2019-01-10_23:59:59.torctl.log', DATA_DIR + 'logs/onionperf.torctl.log' ] assert_equals(log_list, well_known_list )
def test_log_match():