From e09fe35a6427efca788f6f1166f0dab266be50f2 Mon Sep 17 00:00:00 2001 From: Paul-Emmanuel Raoul Date: Thu, 18 Jan 2024 13:26:02 +0100 Subject: [PATCH] Replace 'assertTrue' with 'assertIn' --- tests/test_wifi_essid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wifi_essid.py b/tests/test_wifi_essid.py index 83b5b23..6be65dd 100644 --- a/tests/test_wifi_essid.py +++ b/tests/test_wifi_essid.py @@ -42,7 +42,7 @@ def test_common_essid(self): """ for _ in range(10): - self.assertTrue(self.fake.common_essid() in COMMON_ESSIDS) + self.assertIn(self.fake.common_essid(), COMMON_ESSIDS) def test_upc_default_essid(self): """