def test_hw_addr(self):
        with patch.object(salt.utils.network, 'hw_addr', return_value={}):
            self.assertDictEqual(network.hw_addr('iface'), {})
Always return a list of strings, given a string or list of strings
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/network_test.py/NetworkTestCase.test_hw_addr--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/text.py/list_strings