testutils: define __all__ to limit the variables imported by tests
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py
index 6738d42..fc5e5bb 100644
--- a/src/python/oftest/testutils.py
+++ b/src/python/oftest/testutils.py
@@ -24,6 +24,8 @@
 global skipped_test_count
 skipped_test_count = 0
 
+_import_blacklist = set(locals().keys())
+
 # Some useful defines
 IP_ETHERTYPE = 0x800
 TCP_PROTOCOL = 0x6
@@ -984,6 +986,7 @@
 
     return rv
 
+_import_blacklist.add('FILTER')
 FILTER=''.join([(len(repr(chr(x)))==3) and chr(x) or '.' 
                 for x in range(256)])
 
@@ -1092,3 +1095,5 @@
 assert(parse_version("1.0") == set(["1.0"]))
 assert(parse_version("1.0,1.2,1.3") == set(["1.0", "1.2", "1.3"]))
 assert(parse_version("1.0+") == set(["1.0", "1.1", "1.2", "1.3"]))
+
+__all__ = list(set(locals()) - _import_blacklist)