[tor-commits] [ooni-probe/master] Fix bug in test
art at torproject.org
art at torproject.org
Mon Apr 30 16:35:02 UTC 2012
commit b66810c4c6e139da2bb09df8c225a1d1f7e5e6bd
Author: Arturo Filastò <hellais at gmail.com>
Date: Wed Apr 11 02:07:31 2012 -0700
Fix bug in test
---
plugoo/tests.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugoo/tests.py b/plugoo/tests.py
index f94ba04..84a41b4 100644
--- a/plugoo/tests.py
+++ b/plugoo/tests.py
@@ -78,7 +78,7 @@ class Test:
if assets:
self.logger.debug("Running through tests")
- if extradata and extradata['index']:
+ if extradata and 'index' in extradata:
index = extradata['index']
else:
index = None
More information about the tor-commits
mailing list