]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Replace "dummy" with "stub" in WPS testing
authorArowa Suliman <arowa@chromium.org>
Sun, 19 Sep 2021 06:24:29 +0000 (23:24 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 11 Oct 2021 17:53:24 +0000 (20:53 +0300)
Replace the word "dummy" with the inclusive word "stub".

Signed-off-by: Arowa Suliman <arowa@chromium.org>
tests/hwsim/test_ap_wps.py

index e5e2f0fd96f93eae4a3943ac8bf8d9b64c89cc10..4577177d37fb3953752f23aaa6e8da51754fb30b 100644 (file)
@@ -5066,14 +5066,14 @@ def _test_ap_wps_http_timeout(dev, apdev):
     sock.connect(addr)
     sock.send(b"G")
 
-    class DummyServer(StreamRequestHandler):
+    class StubServer(StreamRequestHandler):
         def handle(self):
-            logger.debug("DummyServer - start 31 sec wait")
+            logger.debug("StubServer - start 31 sec wait")
             time.sleep(31)
-            logger.debug("DummyServer - wait done")
+            logger.debug("StubServer - wait done")
 
     logger.debug("Start WPS ER")
-    server, sock2 = wps_er_start(dev[0], DummyServer, max_age=40,
+    server, sock2 = wps_er_start(dev[0], StubServer, max_age=40,
                                  wait_m_search=True)
 
     logger.debug("Start server to accept, but not complete, HTTP connection from WPS ER")