test_linux_net.LinuxNetTest.test__arp_filtering unit test fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-vif |
Fix Released
|
High
|
Hamdy Khader |
Bug Description
Unit test "vif_plug_
issue in mocking "open" built in function.
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/
b' return func(*args, **keywargs)'
b' File "/home/
b' mock_open.
b' File "/home/
b' _read_data = _to_stream(
b' File "/home/
b' return io.StringIO(
b'TypeError: initial_value must be str or None, not Mock'
b
Changed in os-vif: | |
assignee: | nobody → Hamdy Khader (hamdyk) |
Fix proposed to branch: master /review. opendev. org/664583
Review: https:/