5
import hwtest.constants
7
hwtest.constants.SHARE_DIR = os.curdir
9
from hwtest.action import Action, execute
12
class ActionTest(unittest.TestCase):
14
def test_cpu_info(self):
15
cpu_info = execute("cpu_info")
16
self.assertTrue(type(cpu_info) is types.StringType)
18
def test_dmesg_nic(self):
19
dmesg_nic = execute("dmesg_nic")
20
self.assertTrue(type(dmesg_nic) is types.StringType)