[Piglit] [PATCH v2 8/9] tests/oglconform.py: fix imports
baker.dylan.c at gmail.com
baker.dylan.c at gmail.com
Mon Oct 26 11:59:00 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 8d29af2..cb1d5c1 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.2
More information about the Piglit
mailing list