network device inventory: add validation
network device inventory: add validation: a task in smol-software-harbor (Harbor dataset). normalize() in netinv/mac.py turns garbage such as "zz:11" into something that looks like a MAC address. As its docstring says, it must raise ValueError unless the input contains exactly 12 hexadecimal…
The task
`normalize()` in `netinv/mac.py` turns garbage such as `"zz:11"` into something that looks like a MAC address. As its docstring says, it must raise `ValueError` unless the input contains exactly 12 hexadecimal digits (after removing `:`, `-` and `.`). Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.