[Piglit] [PATCH 9/9] tests/oglconform.py: fix imports

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Oct 21 11:06:34 PDT 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

Currently Test is imported from framework.profile and this happens to
work. However, this isn't the correct place to get Test from, and it
isn't guaranteed to continue working in the future.

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

diff --git a/tests/oglconform.py b/tests/oglconform.py
index 38d9141..3bb6f81 100644
--- a/tests/oglconform.py
+++ b/tests/oglconform.py
@@ -27,7 +27,8 @@ import subprocess
 import tempfile
 
 from framework import grouptools, exceptions, core
-from framework.profile import TestProfile, Test
+from framework.profile import TestProfile
+from framework.test.base import Test
 
 __all__ = ['profile']
 
-- 
2.6.1



More information about the Piglit mailing list