File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,11 @@ def cb(result, errorno):
324
324
self .assertEqual (type (r ), pycares .ares_query_txt_result )
325
325
self .assertIsInstance (r .text , str ) # it's ASCII
326
326
327
+ # The 2 tests below hit a dead end thus fail. Commenting for now as I couldn't find a live server
328
+ # that satisfies what the tests are looking for
329
+
330
+ # FIXME: wide.com.es is a dead end!
331
+ @unittest .expectedFailure
327
332
def test_query_txt_bytes2 (self ):
328
333
self .result , self .errorno = None , None
329
334
def cb (result , errorno ):
@@ -335,6 +340,8 @@ def cb(result, errorno):
335
340
self .assertEqual (type (r ), pycares .ares_query_txt_result )
336
341
self .assertIsInstance (r .text , bytes )
337
342
343
+ # FIXME: "txt-non-ascii.dns-test.hmnid.ru" is a dead end!
344
+ @unittest .expectedFailure
338
345
def test_query_txt_multiple_chunked_with_non_ascii_content (self ):
339
346
self .result , self .errorno = None , None
340
347
def cb (result , errorno ):
You can’t perform that action at this time.
0 commit comments