@@ -20,11 +20,11 @@ class TestWifiESSID(unittest.TestCase):
20
20
Unit tests for the 'WifiESSID' class.
21
21
"""
22
22
23
- def setUp (self ):
23
+ def setUp (self ) -> None :
24
24
self .fake = Faker ()
25
25
self .fake .add_provider (WifiESSID )
26
26
27
- def test_if_string (self ):
27
+ def test_if_string (self ) -> None :
28
28
"""
29
29
Tests if the values returned by the fake Wi-Fi ESSID generators are
30
30
strings.
@@ -36,7 +36,7 @@ def test_if_string(self):
36
36
self .assertTrue (isinstance (self .fake .bbox_default_essid (), str ))
37
37
self .assertTrue (isinstance (self .fake .wifi_essid (), str ))
38
38
39
- def test_common_essid (self ):
39
+ def test_common_essid (self ) -> None :
40
40
"""
41
41
Tests if the 'common_essid()' method returns values from
42
42
'COMMON_ESSIDS' as expected.
@@ -45,7 +45,7 @@ def test_common_essid(self):
45
45
for _ in range (10 ):
46
46
self .assertIn (self .fake .common_essid (), COMMON_ESSIDS )
47
47
48
- def test_upc_default_essid (self ):
48
+ def test_upc_default_essid (self ) -> None :
49
49
"""
50
50
Tests if the values returned by the 'upc_default_essid()' method match
51
51
the UPC ESSIDs' regex.
@@ -56,7 +56,7 @@ def test_upc_default_essid(self):
56
56
for _ in range (10 ):
57
57
self .assertTrue (re .match (regex , self .fake .upc_default_essid ()))
58
58
59
- def test_bbox_default_essid (self ):
59
+ def test_bbox_default_essid (self ) -> None :
60
60
"""
61
61
Tests if the values returned by the 'bbox_default_essid()' method match
62
62
the Bbox ESSIDs' regex.
0 commit comments