[ooni-probe/master] Set testName from class

10 Mar
2013
10 Mar
'13
1:57 a.m.
commit b6f9c2284dee35981863652f6886c64b9b6b2885 Author: aagbsn <aagbsn@extc.org> Date: Fri Jan 25 19:44:45 2013 +0000 Set testName from class --- ooni/nettest.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ooni/nettest.py b/ooni/nettest.py index 0868ab8..bd019cc 100644 --- a/ooni/nettest.py +++ b/ooni/nettest.py @@ -145,7 +145,7 @@ class NetTestLoader(object): test_class, _ = test_cases[0] self.testVersion = test_class.version - self.testName = os.path.basename(net_test_file).strip('.py') + self.testName = test_class.name.lower().replace(' ','_') return test_cases def checkOptions(self):
4474
Age (days ago)
4474
Last active (days ago)
0 comments
1 participants
participants (1)
-
isis@torproject.org