Re: [PATCH v2] test_ap_ciphers: unify IPv6 disabling
Jouni Malinen <[email protected]> Sun, 17 May 2020 01:51:25 +0300
| Newsgroups | gmane.linux.drivers.hostap |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 07, 2020 at 12:47:52PM +0200, Johannes Berg wrote: > Add a decorator that disables IPv6 and requires running > under a VM, rather than open-coding that many times. Thanks, applied. > diff --git a/tests/hwsim/utils.py b/tests/hwsim/utils.py > + # we need the name set right for selecting / printing etc. > + wrapper.__name__ = fn.__name__ > + # reparent to the right module for module filtering > + wrapper.__module__ = fn.__module__ > + return wrapper __doc__ needs to be copied as well for the short test case description. -- Jouni Malinen PGP id EFC895FA