On Jan. 23, 2014, 3:52 p.m., Peter Schiffer wrote:
> src/hardware/test/TestHardware.py, line 183
>
<
http://reviewboard-openlmi.rhcloud.com/r/1483/diff/1/?file=8332#file8332l...
>
> File "/home/pschiffe/Public/openlmi/openlmi-providers
(copy)/src/hardware/test/TestHardware.py", line 183, in test_pci_bridges
> self.assertEqual(sorted(lmi_pci_bridges), sorted(pci_bridges))
> AssertionError: Lists differ: [(u'00:00.0', 340L, 6L, 32902L... !=
[('00:00.0', 340, 6, 32902, 'I...
>
> First differing element 1:
> (u'00:1c.0', 7696L, 6L, 32902L, u'Intel Corporation', u'7
Series/C210 Series Chipset Family PCI Express Root Port 1', None, None, None)
> ('00:1c.0', 7696, 6, 32902, 'Intel Corporation', '7
Series/C210 Series Chipset Family PCI Express Root Port 1', 8694, 6058,
'Lenovo')
>
> Diff is 1949 characters long. Set self.maxDiff to None to see it.
Robin Hack wrote:
This looks like I return more data than provider.. maybe rewriting provider to python
will be better ;D.
This should be fixed in HW provider now.
https://git.fedorahosted.org/cgit/openlmi-providers.git/commit/?id=af361b...
On Jan. 23, 2014, 3:52 p.m., Peter Schiffer wrote:
> src/hardware/test/TestHardware.py, line 45
>
<
http://reviewboard-openlmi.rhcloud.com/r/1483/diff/1/?file=8332#file8332l...
>
> File "/home/pschiffe/Public/openlmi/openlmi-providers
(copy)/src/hardware/test/TestHardware.py", line 45, in test_processor_flags_x86
> self.assertEqual(len(cpu_instances), len(cpu_info))
> AssertionError: 1 != 4
>
Robin Hack wrote:
I don't know. :(.
LMI_Processor represents one physical CPU. For complete info, see profile:
http://www.dmtf.org/sites/default/files/standards/documents/DSP1022_1.0.1...
- Peter
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1483/#review2165
-----------------------------------------------------------
On Jan. 23, 2014, 12:40 p.m., Robin Hack wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1483/
-----------------------------------------------------------
(Updated Jan. 23, 2014, 12:40 p.m.)
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
Hardware: Upstream testsuite from QA.
Diffs
-----
src/hardware/test/README PRE-CREATION
src/hardware/test/TestHardware.py PRE-CREATION
src/hardware/test/TestHardwareBase.py PRE-CREATION
Diff:
http://reviewboard-openlmi.rhcloud.com/r/1483/diff/
Testing
-------
Thanks,
Robin Hack