[Piglit] [PATCH 08/10] integration_tests.py: Use setup_module() fixture.

Dylan Baker baker.dylan.c at gmail.com
Thu Jan 29 15:31:23 PST 2015


This is just a niceness thing, it shouldn't actually lead to functional
changes (except for averting potential ones that might come later)

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/tests/integration_tests.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/framework/tests/integration_tests.py b/framework/tests/integration_tests.py
index 472f903..0971eb3 100644
--- a/framework/tests/integration_tests.py
+++ b/framework/tests/integration_tests.py
@@ -35,7 +35,10 @@ from nose.plugins.skip import SkipTest
 import framework.core
 
 
-framework.core.get_config()
+def setup_module():
+    framework.core.PIGLIT_CONFIG = ConfigParser.SafeConfigParser(
+        allow_no_value=True)
+    framework.core.get_config()
 
 
 def _import(name):
-- 
2.2.2



More information about the Piglit mailing list