Code cleanup [ci skip]
This commit is contained in:
parent
14785c2f5e
commit
c13aa323d8
2 changed files with 0 additions and 4 deletions
|
@ -17,9 +17,6 @@ from htmlentitydefs import name2codepoint
|
||||||
from .decorators import memoized
|
from .decorators import memoized
|
||||||
from .output import out
|
from .output import out
|
||||||
from .configuration import UserAgent, AppName, App, SupportUrl
|
from .configuration import UserAgent, AppName, App, SupportUrl
|
||||||
from .fileutil import has_module
|
|
||||||
|
|
||||||
has_curses = has_module("curses")
|
|
||||||
|
|
||||||
# Maximum content size for HTML pages
|
# Maximum content size for HTML pages
|
||||||
MaxContentBytes = 1024 * 1024 * 2 # 2 MB
|
MaxContentBytes = 1024 * 1024 * 2 # 2 MB
|
||||||
|
|
|
@ -55,4 +55,3 @@ class TestDosage (unittest.TestCase):
|
||||||
def test_fetch(self):
|
def test_fetch(self):
|
||||||
run_with_options(["-n", "2", "-b", self.tmpdir, "-o", "html", "calvinandhobbes"])
|
run_with_options(["-n", "2", "-b", self.tmpdir, "-o", "html", "calvinandhobbes"])
|
||||||
run_with_options(["--numstrips", "2", "--baseurl", "bla", "--basepath", self.tmpdir, "--output", "rss", "--adult", "sexyloser"])
|
run_with_options(["--numstrips", "2", "--baseurl", "bla", "--basepath", self.tmpdir, "--output", "rss", "--adult", "sexyloser"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue