sanitycheck: fix testsuite

Import sanitycheck classes from new module.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/tests/sanitycheck/test_sanitycheck.py b/scripts/tests/sanitycheck/test_sanitycheck.py
index 910194e..ef264c2 100644
--- a/scripts/tests/sanitycheck/test_sanitycheck.py
+++ b/scripts/tests/sanitycheck/test_sanitycheck.py
@@ -7,13 +7,14 @@
 """
 
 import os
-import imp
 import sys
 import pytest
+
 ZEPHYR_BASE = os.getenv("ZEPHYR_BASE")
-sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/"))
-from sanity_chk import scl
-sanitycheck = imp.load_source('sanitycheck', ZEPHYR_BASE + '/scripts/sanitycheck')
+sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/sanity_chk"))
+
+import scl
+from sanitylib import SanityConfigParser
 
 @pytest.fixture(name='test_data')
 def _test_data():
@@ -31,6 +32,6 @@
     """ Test to validate the testcase schema"""
     filename = test_data + 'testcase_correct_schema.yaml'
     schema = scl.yaml_load(ZEPHYR_BASE +'/scripts/sanity_chk/testcase-schema.yaml')
-    data = sanitycheck.SanityConfigParser(filename, schema)
+    data = SanityConfigParser(filename, schema)
     data.load()
     assert data