15
0
forked from pool/python-getmac
Files
python-getmac/cope-with-no-ip6.patch
Dirk Mueller f5f2129ccd - update to 0.9.5:
* Fixed macOS arp when MAC has one character sections in
    specific cases (Fixes issue #92)
- Update to 0.9.4:
  * `arping` (POSIX) or `SendARP` (Windows) will now *always* be used instead
  * Added ability to override the detected platform via `--override-platform`
  Issue deprecation message as a warning in addition to a log message

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=18
2024-10-29 21:44:41 +00:00

14 lines
566 B
Diff

Index: getmac-0.9.4/tests/test_getmac.py
===================================================================
--- getmac-0.9.4.orig/tests/test_getmac.py
+++ getmac-0.9.4/tests/test_getmac.py
@@ -144,7 +144,7 @@ def test_initialize_method_cache_valid_t
assert getmac.initialize_method_cache(method_type)
assert getmac.METHOD_CACHE[method_type] is not None
if method_type in ["ip4", "ip6"]:
- assert getmac.FALLBACK_CACHE[method_type]
+ assert method_type in getmac.FALLBACK_CACHE
def test_initialize_method_cache_initialized(mocker):