From: flu0r1ne Date: Tue, 3 Oct 2023 02:21:53 +0000 (-0500) Subject: Change B101->S101 to reflect flake8 X-Git-Tag: v0.96~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F488%2Fhead;p=thirdparty%2Fmtr.git Change B101->S101 to reflect flake8 --- diff --git a/test/linux/netem.py b/test/linux/netem.py index 8dc8f52..fb74468 100644 --- a/test/linux/netem.py +++ b/test/linux/netem.py @@ -280,7 +280,7 @@ class Host(NetworkObject): **kwargs )) else: - assert len(kwargs) == 0 # noqa: B101 + assert len(kwargs) == 0 # noqa: S101 self._routes.append(prefix_or_route) @config_method @@ -353,7 +353,7 @@ class Network(): ''' assert self._phase == Lifecycle.CONFIG, \ - "Repeated calls to create() on a single network object" # noqa: B101 + "Repeated calls to create() on a single network object" # noqa: S101 for name, host in self._hosts.items(): @@ -376,7 +376,7 @@ class Network(): associated resources ''' assert self._phase == Lifecycle.RUNTIME, \ - "Network not setup" # noqa: B101 + "Network not setup" # noqa: S101 destroy_network(self)