@@ -127,15 +127,18 @@ def test_get_rdns_multi_invalid(self):
127127 self .assertIsNone (hosts ['fe80::5123' ])
128128 self .assertEqual (hosts ['2a07:e00::333' ], 'se.dns.privex.io' )
129129
130+ @pytest .mark .xfail ()
130131 def test_check_host (self ):
131132 self .assertTrue (helpers .check_host ('hiveseed-se.privex.io' , 2001 ))
132133 self .assertFalse (helpers .check_host ('hiveseed-se.privex.io' , 9991 ))
133134
135+ @pytest .mark .xfail ()
134136 def test_check_host_send (self ):
135137 http_req = b"GET / HTTP/1.1\n \n "
136138 self .assertTrue (helpers .check_host ('files.privex.io' , 80 , send = http_req ))
137139 self .assertFalse (helpers .check_host ('files.privex.io' , 9991 ))
138140
141+ @pytest .mark .xfail ()
139142 def test_check_host_throw (self ):
140143 with self .assertRaises (ConnectionRefusedError ):
141144 helpers .check_host ('files.privex.io' , 9991 , throw = True )
@@ -413,17 +416,19 @@ def test_get_rdns_no_rdns_records(self):
413416 """Test :func:`.get_rdns` raises :class:`.ReverseDNSNotFound` when given a valid IP that has no rDNS records"""
414417 with self .assertRaises (helpers .ReverseDNSNotFound ):
415418 loop_run (helpers .get_rdns_async ('192.168.5.1' ))
416-
419+
420+ @pytest .mark .xfail ()
417421 def test_check_host_async (self ):
418422 self .assertTrue (loop_run (helpers .check_host_async ('hiveseed-se.privex.io' , 2001 )))
419423 self .assertFalse (loop_run (helpers .check_host_async ('hiveseed-se.privex.io' , 9991 )))
420424
425+ @pytest .mark .xfail ()
421426 def test_check_host_async_send (self ):
422427 http_req = b"GET / HTTP/1.1\n \n "
423428 self .assertTrue (loop_run (helpers .check_host_async ('files.privex.io' , 80 , send = http_req )))
424- # self.assertTrue(loop_run(helpers.check_host_async('files.privex.io', 443)))
425429 self .assertFalse (loop_run (helpers .check_host_async ('files.privex.io' , 9991 )))
426430
431+ @pytest .mark .xfail ()
427432 def test_check_host_async_throw (self ):
428433 with self .assertRaises (ConnectionRefusedError ):
429434 loop_run (helpers .check_host_async ('files.privex.io' , 9991 , throw = True ))
0 commit comments