Placeholder rows not used.
@@ -13,8 +13,8 @@ def test_select_mac_direction():
rows = [{'eth.src': 1, 'eth.dst': 2}, {'eth.src': 2, 'eth.dst': 1}, {'eth.src': 1, 'eth.dst': 99}]
instance = Host()
# pytype: disable=attribute-error
- assert [{'eth.dst': 1, 'eth.src': 2}, {'eth.src': 1}, {'eth.src': 2}, {'eth.src': 99}] == list(instance._select_mac_direction(rows, output=False))
- assert [{'eth.dst': 2, 'eth.src': 1}, {'eth.dst': 99, 'eth.src': 1}, {'eth.src': 1}, {'eth.src': 2}, {'eth.src': 99}] == list(instance._select_mac_direction(rows, output=True))
+ assert [{'eth.dst': 1, 'eth.src': 2}] == list(instance._select_mac_direction(rows, output=False))
+ assert [{'eth.dst': 2, 'eth.src': 1}, {'eth.dst': 99, 'eth.src': 1}] == list(instance._select_mac_direction(rows, output=True))
def test_max_frame_time():
