[tor-commits] [ooni-probe/master] Set data_directory to the correct data directory in test_oonicli

art at torproject.org art at torproject.org
Fri Oct 10 09:21:53 UTC 2014


commit b8d85bb96b3183ede2d47b6dc62824edac98b7c6
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Oct 3 10:50:47 2014 +0200

    Set data_directory to the correct data directory in test_oonicli
---
 ooni/tests/test_oonicli.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ooni/tests/test_oonicli.py b/ooni/tests/test_oonicli.py
index 9d93cd4..3d5fdeb 100644
--- a/ooni/tests/test_oonicli.py
+++ b/ooni/tests/test_oonicli.py
@@ -50,12 +50,12 @@ advanced:
     reporting_timeout: 80
     reporting_retries: 3
     reporting_concurrency: 15
-    data_dir: /usr/share/ooni
+    data_dir: %s
     oonid_api_port: 8042
 tor:
     socks_port: 9050
 
-"""
+""" % config.data_directory
 
 
 class TestRunDirector(ConfigTestCase):





More information about the tor-commits mailing list