From 6ef2b495ab2f31c3bddf99bef8ca5ffe728e1408 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Mon, 2 Oct 2023 21:21:53 -0500 Subject: [PATCH] Change B101->S101 to reflect flake8 --- test/linux/netem.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.47.2