def test_wol_bad_mac(self):
        bad_mac = '31337'
        self.assertRaises(ValueError, network.wol, bad_mac)
tests network.wol with bad mac
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/network_test.py/NetworkTestCase.test_wol_bad_mac