[ooni-probe/master] Change how we compute the test ID

3 Jan
2014
3 Jan
'14
1:29 p.m.
commit 957a83347271db809341f9e341d79d3ebeb81e30 Author: Arturo Filastò <art@fuffa.org> Date: Thu Dec 26 21:46:40 2013 +0100 Change how we compute the test ID --- ooni/nettest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ooni/nettest.py b/ooni/nettest.py index b421252..7e1ef04 100644 --- a/ooni/nettest.py +++ b/ooni/nettest.py @@ -160,7 +160,7 @@ def getNetTestInformation(net_test_file): """ test_class = getTestClassFromFile(net_test_file) - test_id = test_class_name_to_name(test_class.name) + test_id = os.path.basename(net_test_file).replace('.py', '') information = {'id': test_id, 'name': test_class.name, 'description': test_class.description,
4201
Age (days ago)
4201
Last active (days ago)
0 comments
1 participants
participants (1)
-
art@torproject.org