ironic/ironic/tests/unit/drivers/modules/irmc
Yushiro FURUKAWA 0e399f750a Fix handling OctetString for pysnmp
This commit fixes getting MAC address while inspection for iRMC driver.
To remove ord() in retrieving MAC address, it can avoid the following
exception:

  TypeError: ord() expected string of length 1, but int found

Also, this commit sets the following type of mock for UT. So, I add
'pysnmp'[1] into test-requirements.txt and lower-constraints.txt.

  * pysnmp.proto.rfc1902.OctetString
  * pysnmp.proto.rfc1902.Integer32

[1] https://bit.ly/3bDeTCH
Change-Id: I1e013a93854e01a7060e1fc48aac091e7e9b74cb
2020-09-29 13:00:52 +00:00
..
__init__.py Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
fake_sensors_data_ng.xml Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
fake_sensors_data_ok.xml Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
test_bios.py Enforce autospec in irmc tests 2020-08-12 17:33:22 +02:00
test_boot.py Enforce autospec in irmc tests 2020-08-12 17:33:22 +02:00
test_common.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_inspect.py Fix handling OctetString for pysnmp 2020-09-29 13:00:52 +00:00
test_management.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_periodic_task.py Enforce autospec in irmc tests 2020-08-12 17:33:22 +02:00
test_power.py Enforce autospec in irmc tests 2020-08-12 17:33:22 +02:00
test_raid.py Enforce autospec in irmc tests 2020-08-12 17:33:22 +02:00