mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Fix expected 404 error message
This commit is contained in:
parent
57730187ed
commit
c79af0d431
@ -525,7 +525,7 @@ class TestWbIntegration(BaseConfigTest):
|
||||
resp = self.testapp.get('/static%2F..%2F..%2F..%2F..%2Fosfile.txt', status = 404)
|
||||
assert resp.status_int == 404
|
||||
|
||||
assert 'Static file not found: <b>..%2F..%2F..%2F..%2Fosfile.txt</b>' in resp.text
|
||||
assert 'Static file not found: <b>../../../../osfile.txt' in resp.text
|
||||
|
||||
def test_cdx_server_filters(self):
|
||||
resp = self.testapp.get('/pywb/cdx?url=http://www.iana.org/_css/2013.1/screen.css&filter=mime:warc/revisit&filter=filename:dupes.warc.gz')
|
||||
|
Loading…
x
Reference in New Issue
Block a user