Setting the __all__ name in a module controls which names it exposes
when imported.
---
framework/profile.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/framework/profile.py b/framework/profile.py
index db6fb45..4777c60 100644
--- a/framework/profile.py
+++ b/framework/profile.py
@@ -37,6 +37,12 @@ from framework.dmesg import get_dmesg
from framework.log import Log
import framework.exectest
+__all__ = [
+ 'TestProfile',
+ 'loadTestProfile',
+ 'merge_test_profiles'
+]
+
class TestProfile(object):
""" Class that holds a list of tests for execution
--
2.0.0.rc0
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit