mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-02 08:12:21 -07:00
feat: Enhance plugin configurations and improve MAC normalization
This commit is contained in:
@@ -16,3 +16,9 @@ def test_normalize_mac_preserves_wildcard():
|
||||
result = normalize_mac("aabbcc*")
|
||||
assert result == "AA:BB:CC:*", f"Expected 'AA:BB:CC:*' but got '{result}'"
|
||||
assert normalize_mac("aa:bb:cc:dd:ee:ff") == "AA:BB:CC:DD:EE:FF"
|
||||
|
||||
|
||||
def test_normalize_mac_preserves_internet_root():
|
||||
assert normalize_mac("internet") == "Internet"
|
||||
assert normalize_mac("Internet") == "Internet"
|
||||
assert normalize_mac("INTERNET") == "Internet"
|
||||
|
||||
Reference in New Issue
Block a user