aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/test_pushers.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-01-14 16:05:41 -0800
committerBryan Newbold <bnewbold@archive.org>2020-01-14 16:05:41 -0800
commitba6f16a02cfde0e4acb499c00b456b42472c0b00 (patch)
tree9b27d9982e61ee97a82181249c0f9723980a4beb /python/tests/test_pushers.py
parent21599839802b8ef3a84ffe90855f7bceaaa12a0d (diff)
downloadsandcrawler-ba6f16a02cfde0e4acb499c00b456b42472c0b00.tar.gz
sandcrawler-ba6f16a02cfde0e4acb499c00b456b42472c0b00.zip
more ftp status 226 support
Diffstat (limited to 'python/tests/test_pushers.py')
-rw-r--r--python/tests/test_pushers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/test_pushers.py b/python/tests/test_pushers.py
index ed9c0bb..52f26c0 100644
--- a/python/tests/test_pushers.py
+++ b/python/tests/test_pushers.py
@@ -19,7 +19,7 @@ def test_cdx_line_pusher():
# HTTP 200 and application/pdf
with open('tests/files/example.cdx', 'r') as cdx_file:
pusher = CdxLinePusher(sink, cdx_file,
- filter_mimetypes=['application/pdf'], filter_http_statuses=[200])
+ filter_mimetypes=['application/pdf'], filter_http_statuses=[200, 226])
counts = pusher.run()
assert counts['total'] == 20
assert counts['skip-parse'] == 1