mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 05:11:00 +00:00
Run obfuscated IP test only on linux.
This commit is contained in:
parent
61f9f31de2
commit
0e29ebde2a
1 changed files with 2 additions and 2 deletions
|
|
@ -174,8 +174,8 @@ class TestHttp (HttpServerTest):
|
|||
self.direct(url, resultlines, recursionlevel=1)
|
||||
|
||||
def obfuscate_test (self):
|
||||
import os
|
||||
if os.name != "posix":
|
||||
import os, sys
|
||||
if os.name != "posix" and sys.platform != 'linux2':
|
||||
return
|
||||
host = "www.golem.de"
|
||||
ip = iputil.resolve_host(host).pop()
|
||||
|
|
|
|||
Loading…
Reference in a new issue