Exemplo n.º 1
0
    def test_parse_dmi_memory(self):
        inputdata = dmi_data.MEMORY_DATA[0]
        expected = dmi_data.MEMORY_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)
Exemplo n.º 2
0
    def test_parse_dmi_cpu(self):
        inputdata = dmi_data.CPU_DATA[0]
        expected = dmi_data.CPU_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)
Exemplo n.º 3
0
    def test_parse_dmi_bios(self):
        inputdata = BIOS_DATA[0]
        expected = BIOS_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)
    def test_parse_dmi_memory(self):
        inputdata = MEMORY_DATA[0]
        expected = MEMORY_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)
    def test_parse_dmi_cpu(self):
        inputdata = CPU_DATA[0]
        expected = CPU_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)
    def test_parse_dmi_bios(self):
        inputdata = BIOS_DATA[0]
        expected = BIOS_OUTPUT

        ret = dmi_inspector.parse_dmi(inputdata)
        self.assertEqual(expected, ret)