mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-26 18:50:32 +00:00
use relative imports
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3350 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
7667f3402f
commit
7781fe88ce
1 changed files with 3 additions and 3 deletions
|
|
@ -22,10 +22,10 @@ import unittest
|
|||
import os
|
||||
import re
|
||||
|
||||
import linkcheck.checker.tests.httptest
|
||||
import httptest
|
||||
|
||||
|
||||
class TestHttp (linkcheck.checker.tests.httptest.HttpServerTest):
|
||||
class TestHttp (httptest.HttpServerTest):
|
||||
"""
|
||||
Test http:// link checking.
|
||||
"""
|
||||
|
|
@ -157,7 +157,7 @@ def get_cookie (maxage=2000):
|
|||
return "; ".join(parts)
|
||||
|
||||
|
||||
class CookieRedirectHttpRequestHandler (linkcheck.checker.tests.httptest.NoQueryHttpRequestHandler):
|
||||
class CookieRedirectHttpRequestHandler (httptest.NoQueryHttpRequestHandler):
|
||||
"""
|
||||
Handler redirecting certain requests, and setting cookies.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue